[Twisted-Python] twistd .tac and ILogObserver

Werner Thie wthie at thiengineering.ch
Thu Nov 20 12:50:07 EST 2008


Hi

I tried to enhance my test.tac file with

              :
application = service.Application("test")
application.setComponent(ILogObserver, LogFile('test.log', '/var/log/', 
rotateLength=10000).write)
              :

The logfile is created but the log messages vanish into thin air, log 
file size remains at zero.

What am I doing wrong?

TIA, Werner




More information about the Twisted-Python mailing list