|
|
@@ -22,14 +22,6 @@ handlers=logfile,errorlog
|
|
|
handlers=accesslog
|
|
|
qualname=access
|
|
|
|
|
|
-[logger_shell_output]
|
|
|
-handlers=shell_output_log
|
|
|
-qualname=shell_output
|
|
|
-
|
|
|
-[logger_shell_input]
|
|
|
-handlers=shell_input_log
|
|
|
-qualname=shell_input
|
|
|
-
|
|
|
# The logrotation limit is set at 5MB per file for a total of 5 copies.
|
|
|
# I.e. 25MB for each set of logs.
|
|
|
[handler_accesslog]
|
|
|
@@ -46,18 +38,6 @@ level=ERROR
|
|
|
formatter=default
|
|
|
args=('%LOG_DIR%/error.log', 'a', 5000000, 5)
|
|
|
|
|
|
-[handler_shell_output_log]
|
|
|
-class=handlers.RotatingFileHandler
|
|
|
-level=INFO
|
|
|
-formatter=default
|
|
|
-args=('%LOG_DIR%/shell_output.log', 'a', 5000000, 5)
|
|
|
-
|
|
|
-[handler_shell_input_log]
|
|
|
-class=handlers.RotatingFileHandler
|
|
|
-level=INFO
|
|
|
-formatter=default
|
|
|
-args=('%LOG_DIR%/shell_input.log', 'a', 5000000, 5)
|
|
|
-
|
|
|
[formatter_default]
|
|
|
format=[%(asctime)s] %(module)-12s %(levelname)-8s %(message)s
|
|
|
datefmt=%d/%b/%Y %H:%M:%S +0000
|
|
|
@@ -67,10 +47,10 @@ format=[%(asctime)s] %(levelname)-8s %(message)s
|
|
|
datefmt=%d/%b/%Y %H:%M:%S +0000
|
|
|
|
|
|
[loggers]
|
|
|
-keys=root,access,shell_output,shell_input
|
|
|
+keys=root,access
|
|
|
|
|
|
[handlers]
|
|
|
-keys=logfile,accesslog,errorlog,shell_output_log,shell_input_log
|
|
|
+keys=logfile,accesslog,errorlog
|
|
|
|
|
|
[formatters]
|
|
|
keys=default,access
|