Hi All! Tell me how to wait for the start of the log on twistd. When I start twistd - i see print out in log in stdout. log.msg("123") now work.
from twisted.application.service import Application from twisted.python.log import ILogObserver, FileLogObserver from twisted.python.logfile import DailyLogFile # from twisted.python import log from raspberry.raspberry import Raspberry from raspberry.config import config application = Application("raspberry") logfile = DailyLogFile(config["log_file"], config["log_path"]) application.setComponent(ILogObserver, FileLogObserver(logfile).emit) runner = Raspberry(application, config) runner.run() Thanks! _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python