mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
Added option to turn of database logging to log file
This commit is contained in:
parent
3f137ae3b6
commit
ae65bd6a4c
1 changed files with 2 additions and 1 deletions
|
@ -210,6 +210,7 @@ class NTMRotatingLogHandler(object):
|
||||||
elif logLevel == POSTPROCESS:
|
elif logLevel == POSTPROCESS:
|
||||||
pp_logger.postprocess(out_line)
|
pp_logger.postprocess(out_line)
|
||||||
elif logLevel == DB:
|
elif logLevel == DB:
|
||||||
|
if nzbtomedia.LOG_DB == 1:
|
||||||
db_logger.db(out_line)
|
db_logger.db(out_line)
|
||||||
else:
|
else:
|
||||||
ntm_logger.info(logLevel, out_line)
|
ntm_logger.info(logLevel, out_line)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue