Skip to content
Browse files

performance: change default logging level to INFO vice DEBUG

  • Loading branch information...
1 parent e2e7430 commit 14d340f732db9d3f2a81af71d9ca0fa2b0836461 @dound committed
Showing with 12 additions and 9 deletions.
  1. +12 −9 logging.conf
View
21 logging.conf
@@ -1,27 +1,30 @@
[loggers]
keys=root
+# note: hand_debug_rfile has been commented out (mostly for performance reasons)
[handlers]
-keys=hand_console,hand_rfile,hand_debug_rfile
+keys=hand_console,hand_rfile
+#,hand_debug_rfile
[formatters]
keys=form_console,form_rfile
[logger_root]
-level=DEBUG
-handlers=hand_console,hand_rfile,hand_debug_rfile
+level=INFO
+handlers=hand_console,hand_rfile
+#,hand_debug_rfile
[handler_hand_console]
class=StreamHandler
-level=DEBUG
+level=INFO
formatter=form_console
args=(sys.stderr,)
-[handler_hand_debug_rfile]
-class=handlers.RotatingFileHandler
-level=DEBUG
-formatter=form_rfile
-args=('vns.debug.log', 'a', 5*1024*1024, 1) # filename, append, max size (B) per file, max # of files
+#[handler_hand_debug_rfile]
+#class=handlers.RotatingFileHandler
+#level=DEBUG
+#formatter=form_rfile
+#args=('vns.debug.log', 'a', 5*1024*1024, 1) # filename, append, max size (B) per file, max # of files
[handler_hand_rfile]
class=handlers.RotatingFileHandler

0 comments on commit 14d340f

Please sign in to comment.
Something went wrong with that request. Please try again.