08e80b5a68
* It's needed for consistency with the main config example Change-Id: I1154c2b2da2823e94d40014cdca4499ac4e272e8
33 lines
576 B
Plaintext
33 lines
576 B
Plaintext
[loggers]
|
|
keys=root
|
|
|
|
[handlers]
|
|
keys=consoleHandler, fileHandler
|
|
|
|
[formatters]
|
|
keys=verboseFormatter, simpleFormatter
|
|
|
|
[logger_root]
|
|
level=DEBUG
|
|
handlers=consoleHandler, fileHandler
|
|
|
|
[handler_consoleHandler]
|
|
class=StreamHandler
|
|
level=INFO
|
|
formatter=simpleFormatter
|
|
args=(sys.stdout,)
|
|
|
|
[handler_fileHandler]
|
|
class=FileHandler
|
|
level=INFO
|
|
formatter=verboseFormatter
|
|
args=("/tmp/mistral.log",)
|
|
|
|
[formatter_verboseFormatter]
|
|
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
|
|
datefmt=
|
|
|
|
[formatter_simpleFormatter]
|
|
format=%(asctime)s - %(levelname)s - %(message)s
|
|
datefmt=
|