mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
Add "none" as a log level to support quieting the logging messages. Refs #1470.
This commit is contained in:
parent
356808b02c
commit
8c12c47d3e
@ -117,6 +117,7 @@ class Logging(LoggingLoggerClass):
|
|||||||
return rv
|
return rv
|
||||||
|
|
||||||
levels = {
|
levels = {
|
||||||
|
"none": logging.NOTSET,
|
||||||
"info": logging.INFO,
|
"info": logging.INFO,
|
||||||
"warn": logging.WARNING,
|
"warn": logging.WARNING,
|
||||||
"warning": logging.WARNING,
|
"warning": logging.WARNING,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user