Don't disable logging, just change level for modules

This commit is contained in:
Ruud
2012-02-11 15:30:40 +01:00
parent 3a6ae1bd41
commit 3bbf1126c3
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -15,8 +15,7 @@ class Growl(Notification):
def __init__(self):
super(Growl, self).__init__()
logger = logging.getLogger('gntp.notifier')
logger.disabled = True
logging.getLogger('gntp').setLevel(logging.WARNING)
try:
def startGrowl():
+1 -2
View File
@@ -99,8 +99,7 @@ def runCouchPotato(options, base_path, args, desktop = None):
atexit.register(cleanup)
# Disable server access log
server_log = logging.getLogger('werkzeug')
server_log.disabled = True
logging.getLogger('werkzeug').setLevel(logging.WARNING)
# Only run once when debugging
fire_load = False