[loggers]
-keys = root, cinder
+keys = root, cinder, taskflow, cinder_flow_utils
[handlers]
-keys = stderr, stdout, watchedfile, syslog, null
+keys = stderr, stdout, watchedfile, syslog, tasks, null
[formatters]
keys = context, default
handlers = stderr
qualname = cinder
+# Both of these are used for tracking what cinder and taskflow is doing with
+# regard to flows and tasks (and the activity there-in).
+[logger_cinder_flow_utils]
+level = INFO
+handlers = tasks,stderr
+qualname = cinder.flow_utils
+
+[logger_taskflow]
+level = INFO
+handlers = tasks
+qualname = taskflow
+
[logger_amqplib]
level = WARNING
handlers = stderr
args = ('cinder.log',)
formatter = context
+[handler_tasks]
+class = handlers.WatchedFileHandler
+args = ('tasks.log',)
+formatter = context
+
[handler_syslog]
class = handlers.SysLogHandler
args = ('/dev/log', handlers.SysLogHandler.LOG_USER)