123456789101112131415161718192021222324252627282930313233 |
- [loggers]
- keys=root,simpleExample
- [handlers]
- keys=consoleHandler,rotateFileHandler
- [formatters]
- keys=simpleFormatter
- [logger_root]
- level=DEBUG
- handlers=consoleHandler,rotateFileHandler
- [logger_simpleExample]
- level=DEBUG
- handlers=consoleHandler,rotateFileHandler
- qualname=simpleExample
- propagate=0
- [handler_consoleHandler]
- class=StreamHandler
- level=DEBUG
- formatter=simpleFormatter
- args=(sys.stdout,)
- [handler_rotateFileHandler]
- class=handlers.RotatingFileHandler
- level=DEBUG
- formatter=simpleFormatter
- args=('securitypw.log', 'a', 50*1024*1024, 6)
- [formatter_simpleFormatter]
- format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
|