[Tutor] Q2: logging not working as expected

Kent Johnson kent37 at tds.net
Fri Nov 16 22:27:48 CET 2007


dave selby wrote:
> I was trying to get logging to report to Syslog, that failed so I
> changed it to write to a file 'python.log' .  When I execute my test
> script 'python.log' appears but contains no messages and no error
> messages are generated.
> 
> Anybody any ideas as to what I am doing wrong ?

The root logger is still logging only to Syslog. What if you make the 
root logger just output to hand02?

You might try cutting your config down to just the root logger and file 
handler, get that working, then expand.

Kent


More information about the Tutor mailing list