Oct. 24, 2007
1:26 p.m.
Phil Mayers wrote:
On Wed, 2007-10-24 at 07:57 +0200, Roland Hedberg wrote:
Consistent but depending on the configuration, the output from print for one of modules continues to go to stdout instead of to the logfile.
Can you produce a minimal example showing the effect?
I can try, but ...
Anyone got a clue as to what is happening and what I can do about it ?
sed -i -e 's/print \(.*\)/log.msg(\1)/g' *.py
i.e. don't use "print" for logging.
Doing this modification the problem went away. Thanks Phil! -- Roland