Don't disable logging, just change level for modules
This commit is contained in:
1 parent
3a6ae1bd41
commit
3bbf1126c3
2 files changed
+2
-4
No files matched your search
@@ -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():
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user