mistral/etc/logging.conf.sample
Renat Akhmerov 08e80b5a68 Renaming all example config files from *.conf.example to *.conf.sample
* It's needed for consistency with the main config example

Change-Id: I1154c2b2da2823e94d40014cdca4499ac4e272e8
2014-06-16 16:52:10 +07:00

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=