From 8c12c47d3eb1b5c99d5d86ce238776b3ab904ef8 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Sun, 2 Jan 2011 16:06:28 +0000 Subject: Add "none" as a log level to support quieting the logging messages. Refs #1470. --- deluge/log.py | 1 + 1 file changed, 1 insertion(+) (limited to 'deluge/log.py') diff --git a/deluge/log.py b/deluge/log.py index 2528d1581..390010c0e 100644 --- a/deluge/log.py +++ b/deluge/log.py @@ -117,6 +117,7 @@ class Logging(LoggingLoggerClass): return rv levels = { + "none": logging.NOTSET, "info": logging.INFO, "warn": logging.WARNING, "warning": logging.WARNING, -- cgit