Module: deluge
Branch: master
Commit: 8c12c47d3eb1b5c99d5d86ce238776b3ab904ef8

Author: Pedro Algarvio <[email protected]>
Date:   Sun Jan  2 16:06:28 2011 +0000

Add "none" as a log level to support quieting the logging messages. Refs #1470.

---

 deluge/log.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/deluge/log.py b/deluge/log.py
index 2528d15..390010c 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,

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to