diff service/environment/environment.py @ 1538:4857e22137c0

build update, use logging lib Ignore-this: 4e8ca41fbac2056010d9b6d96d3cdfc7 darcs-hash:1540a8505acd2a2afda68f313bd0b434e284b795
author drewp <drewp@bigasterisk.com>
date Mon, 10 Feb 2020 00:03:38 -0800
parents f119ed48194b
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):