X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/blobdiff_plain/1cc6968f38db0ade45242e08f9aab1b1db3e43b1..ec2c9312c36782c61b38e1c3bcdbe932685a9794:/hippotatlib/__init__.py diff --git a/hippotatlib/__init__.py b/hippotatlib/__init__.py index 701a5f2..7bdf4ea 100644 --- a/hippotatlib/__init__.py +++ b/hippotatlib/__init__.py @@ -650,12 +650,13 @@ just `+': all DFLAGs. stdsomething_obs = twisted.logger.FilteringLogObserver( stderr_obs, [pred], stdout_obs ) - log_observer = twisted.logger.FilteringLogObserver( + global file_log_observer + file_log_observer = twisted.logger.FilteringLogObserver( stdsomething_obs, [LogNotBoringTwisted()] ) #log_observer = stdsomething_obs twisted.logger.globalLogBeginner.beginLoggingTo( - [ log_observer, crash_on_critical ] + [ file_log_observer, crash_on_critical ] ) def common_run():