Don't disable logging, just change level for modules

This commit is contained in:
Ruud committed 2012-02-11 15:30:40 +01:00
1 parent 3a6ae1bd41
commit 3bbf1126c3
2 files changed
+2 -4

No files matched your search

+1 -2
View File
@@ -15,8 +15,7 @@ class Growl(Notification):
def __init__(self): def __init__(self):
super(Growl, self).__init__() super(Growl, self).__init__()
logger = logging.getLogger('gntp.notifier') logging.getLogger('gntp').setLevel(logging.WARNING)
logger.disabled = True
try: try:
def startGrowl(): def startGrowl():
+1 -2
View File
@@ -99,8 +99,7 @@ def runCouchPotato(options, base_path, args, desktop = None):
atexit.register(cleanup) atexit.register(cleanup)
# Disable server access log # Disable server access log
server_log = logging.getLogger('werkzeug') logging.getLogger('werkzeug').setLevel(logging.WARNING)
server_log.disabled = True
# Only run once when debugging # Only run once when debugging
fire_load = False fire_load = False