[Twisted-Python] twistd .tac and ILogObserver
Jean-Paul Calderone
exarkun at divmod.com
Thu Nov 20 12:54:44 MST 2008
On Thu, 20 Nov 2008 18:50:07 +0100, Werner Thie <wthie at thiengineering.ch> wrote:
>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?
Are you using trunk at 25379 or newer?
Jean-Paul
More information about the Twisted-Python
mailing list