Don't disable logging, just change level for modules
This commit is contained in:
@@ -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():
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user