shebangs need to point at python2
[sfa.git] / sfa / util / sfalogging.py
index 5a9745c..0789353 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
 
 """
 A reroutable logger that can handle deep tracebacks
@@ -123,7 +123,7 @@ def logging_config(context):
     if context == 'server':
         handlername = 'file'
         filename = '/var/log/sfa.log'
-        level = 'INFO'
+        level = 'DEBUG'
     elif context == 'import':
         handlername = 'file'
         filename = '/var/log/sfa-import.log'
@@ -168,7 +168,7 @@ def logging_config(context):
             'level': level,
             'formatter': 'standard',
             'class': 'logging.StreamHandler',
-            }
+        }
     else:
         config['handlers']['file'] = {
             'filename': filename,
@@ -179,7 +179,7 @@ def logging_config(context):
             'when': 'w0',
             'interval': 1,
             'backupCount': 12,
-            }
+        }
     return config