mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-31 11:22:38 +00:00
Limit log level of some modules
This commit is contained in:
parent
3aca4a7ce9
commit
1980e2e198
1 changed files with 3 additions and 3 deletions
|
@ -70,9 +70,9 @@ def configure_logging():
|
|||
f = OneLineExceptionFormatter('%(asctime)s|%(levelname)s|%(message)s|',
|
||||
'%d/%m/%Y %H:%M:%S')
|
||||
fh.setFormatter(f)
|
||||
#logging.getLogger("enzyme").setLevel(logging.ERROR)
|
||||
#logging.getLogger("apscheduler").setLevel(logging.WARNING)
|
||||
#logging.getLogger("subliminal").setLevel(logging.ERROR)
|
||||
logging.getLogger("enzyme").setLevel(logging.ERROR)
|
||||
logging.getLogger("apscheduler").setLevel(logging.WARNING)
|
||||
logging.getLogger("subliminal").setLevel(logging.ERROR)
|
||||
root = logging.getLogger()
|
||||
root.setLevel(log_level)
|
||||
root.addHandler(fh)
|
||||
|
|
Loading…
Reference in a new issue