--- a/pyforge/development.ini
+++ b/pyforge/development.ini
@@ -151,15 +151,15 @@
keys = root, pyforge, sqlalchemy
[handlers]
-keys = console
+keys = console, rtstats
[formatters]
-keys = generic
+keys = generic, rtstats
# If you create additional loggers, add them as a key to [loggers]
[logger_root]
level = INFO
-handlers = console
+handlers = console, rtstats
[logger_pyforge]
level = DEBUG
@@ -182,7 +182,17 @@
level = NOTSET
formatter = generic
+[handler_rtstats]
+class = pyforge.ext.sfx.lib.loggers.RTStatsHandler
+args = ('rtstats.log', 'allura', 1)
+level = NOTSET
+formatter = rtstats
+
# If you create additional formatters, add them as a key to [formatters]
[formatter_generic]
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
datefmt = %H:%M:%S
+
+[formatter_rtstats]
+format = %(asctime)s %(created)d %(kwpairs)s
+datefmt = %d/%b/%Y:%H:%M:%S UTC