Fixed a logging issue when running the test crawler.
- Legacy-Id: 18040
This commit is contained in:
parent
1e69b18f12
commit
e1ed51b0b6
|
@ -62,7 +62,7 @@ def log(msg, e=None):
|
|||
pass
|
||||
_logfunc = logfunc
|
||||
if settings.SERVER_MODE == 'test':
|
||||
if settings.show_logging:
|
||||
if settings.get('show_logging', False) is True:
|
||||
_logfunc = debug.say
|
||||
_flushfunc = sys.stdout.flush # pyflakes:ignore (intentional redefinition)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue