diff service/environment/environment.py @ 738:4167101b816f

build update, use logging lib Ignore-this: 4e8ca41fbac2056010d9b6d96d3cdfc7
author drewp@bigasterisk.com
date Mon, 10 Feb 2020 00:03:38 -0800
parents 23b972df1856
children 3cfd3693a4ac
line wrap: on
line diff
--- a/service/environment/environment.py	Mon Feb 10 00:03:11 2020 -0800
+++ b/service/environment/environment.py	Mon Feb 10 00:03:38 2020 -0800
@@ -66,12 +66,8 @@
 
     -v                    Verbose
     """)
-    log.setLevel(logging.INFO)
-    if arg['-v']:
-        enableTwistedLog()
-        log.setLevel(logging.DEBUG)
-        defer.setDebugging(True)
-        
+    verboseLogging(arg['-v'])
+
     masterGraph = PatchableGraph()
 
     class Application(cyclone.web.Application):