mistral/etc/wf_trace_logging.conf.sample.rotating
Winson Chan 45ac6d03b1 Enable osprofiler to measure performance
Add option to enable osprofiler to measure performance of workflow execution.

Change-Id: I98e66e3f721c134370848dc2b65fb37c49b0e8ee
Implements: blueprint mistral-osprofiler
2016-06-10 01:49:38 +00:00

63 lines
1.3 KiB
Plaintext

[loggers]
keys=workflow_trace,profiler_trace,root
[handlers]
keys=consoleHandler, wfTraceFileHandler, profilerFileHandler, fileHandler
[formatters]
keys=wfFormatter, profilerFormatter, simpleFormatter, verboseFormatter
[logger_workflow_trace]
level=INFO
handlers=consoleHandler, wfTraceFileHandler
qualname=workflow_trace
[logger_profiler_trace]
level=INFO
handlers=profilerFileHandler
qualname=profiler_trace
[logger_root]
level=INFO
handlers=fileHandler
[handler_fileHandler]
class=logging.handlers.RotatingFileHandler
level=INFO
formatter=verboseFormatter
args=("/var/log/mistral.log", "a", 10485760, 5)
[handler_consoleHandler]
class=StreamHandler
level=INFO
formatter=simpleFormatter
args=(sys.stdout,)
[handler_wfTraceFileHandler]
class=logging.handlers.RotatingFileHandler
level=INFO
formatter=wfFormatter
args=("/var/log/mistral_wf_trace.log", "a", 10485760, 5)
[handler_profilerFileHandler]
class=logging.handlers.RotatingFileHandler
level=INFO
formatter=profilerFormatter
args=("/var/log/mistral_osprofile.log", "a", 10485760, 5)
[formatter_verboseFormatter]
format=%(asctime)s %(thread)s %(levelname)s %(module)s [-] %(message)s
datefmt=
[formatter_simpleFormatter]
format=%(asctime)s %(levelname)s [-] %(message)s
datefmt=
[formatter_wfFormatter]
format=%(asctime)s WF [-] %(message)s
datefmt=
[formatter_profilerFormatter]
format=%(message)s
datefmt=