Srikanth Vavilapalli | b9bcda7 | 2017-01-19 18:25:39 +0000 | [diff] [blame^] | 1 | [loggers] |
2 | keys=root | ||||
3 | |||||
4 | [handlers] | ||||
5 | keys=logfile | ||||
6 | |||||
7 | [formatters] | ||||
8 | keys=logfileformatter | ||||
9 | |||||
10 | [logger_root] | ||||
11 | level=DEBUG | ||||
12 | handlers=logfile | ||||
13 | |||||
14 | [formatter_logfileformatter] | ||||
15 | format='%(asctime)s %(filename)s %(levelname)s %(message)s' | ||||
16 | |||||
17 | [handler_logfile] | ||||
18 | class=handlers.RotatingFileHandler | ||||
19 | level=NOTSET | ||||
20 | args=('monitoring_agent.log','a',10000000,5) | ||||
21 | formatter=logfileformatter |