Browse Source

Fix report fpath syntax.

Stefano Cossu 6 years ago
parent
commit
abb2bd788f
1 changed files with 6 additions and 7 deletions
  1. 6 7
      lakesuperior/lsup_admin.py

+ 6 - 7
lakesuperior/lsup_admin.py

@@ -23,13 +23,12 @@ for a list of tools and options.
 logger = logging.getLogger(__name__)
 click_log.basic_config(logger)
 
-report = logging.getLogger('report')
-report_formatter = logging.Formatter('"%(asctime)s",%(message)s')
-report_fpath = '{}/lsup-report-{}'.format(
-        env.config['application']['data_dir'],
-        .format(arrow.utcnow().format('YYYY-MM-DDTHH:mm:ss.S'))
-report_handler = logging.FileHandler(report_fpath)
-
+#report = logging.getLogger('report')
+#report_formatter = logging.Formatter('"%(asctime)s",%(message)s')
+#report_fpath = '{}/lsup-report-{}'.format(
+#        env.config['application']['data_dir'],
+#        arrow.utcnow().format('YYYY-MM-DDTHH:mm:ss.S'))
+#report_handler = logging.FileHandler(report_fpath)
 
 @click.group()
 def admin():