mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-27 00:57:46 +08:00
Test
This commit is contained in:
parent
3c216ad8a1
commit
0ed83303af
1 changed files with 3 additions and 3 deletions
|
@ -67,9 +67,9 @@ def configure_logging():
|
||||||
f = OneLineExceptionFormatter('%(asctime)s|%(levelname)s|%(message)s|',
|
f = OneLineExceptionFormatter('%(asctime)s|%(levelname)s|%(message)s|',
|
||||||
'%d/%m/%Y %H:%M:%S')
|
'%d/%m/%Y %H:%M:%S')
|
||||||
fh.setFormatter(f)
|
fh.setFormatter(f)
|
||||||
logging.getLogger("enzyme").setLevel(logging.ERROR)
|
#logging.getLogger("enzyme").setLevel(logging.ERROR)
|
||||||
logging.getLogger("apscheduler").setLevel(logging.WARNING)
|
#logging.getLogger("apscheduler").setLevel(logging.WARNING)
|
||||||
logging.getLogger("subliminal").setLevel(logging.ERROR)
|
#logging.getLogger("subliminal").setLevel(logging.ERROR)
|
||||||
root = logging.getLogger()
|
root = logging.getLogger()
|
||||||
root.setLevel(log_level)
|
root.setLevel(log_level)
|
||||||
root.addHandler(fh)
|
root.addHandler(fh)
|
||||||
|
|
Loading…
Reference in a new issue