Skip to content

Commit

Permalink
performance: change default logging level to INFO vice DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
dound committed Jan 27, 2010
1 parent e2e7430 commit 14d340f
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions logging.conf
@@ -1,27 +1,30 @@
[loggers] [loggers]
keys=root keys=root


# note: hand_debug_rfile has been commented out (mostly for performance reasons)
[handlers] [handlers]
keys=hand_console,hand_rfile,hand_debug_rfile keys=hand_console,hand_rfile
#,hand_debug_rfile


[formatters] [formatters]
keys=form_console,form_rfile keys=form_console,form_rfile


[logger_root] [logger_root]
level=DEBUG level=INFO
handlers=hand_console,hand_rfile,hand_debug_rfile handlers=hand_console,hand_rfile
#,hand_debug_rfile


[handler_hand_console] [handler_hand_console]
class=StreamHandler class=StreamHandler
level=DEBUG level=INFO
formatter=form_console formatter=form_console
args=(sys.stderr,) args=(sys.stderr,)


[handler_hand_debug_rfile] #[handler_hand_debug_rfile]
class=handlers.RotatingFileHandler #class=handlers.RotatingFileHandler
level=DEBUG #level=DEBUG
formatter=form_rfile #formatter=form_rfile
args=('vns.debug.log', 'a', 5*1024*1024, 1) # filename, append, max size (B) per file, max # of files #args=('vns.debug.log', 'a', 5*1024*1024, 1) # filename, append, max size (B) per file, max # of files


[handler_hand_rfile] [handler_hand_rfile]
class=handlers.RotatingFileHandler class=handlers.RotatingFileHandler
Expand Down

0 comments on commit 14d340f

Please sign in to comment.