summaryrefslogtreecommitdiffhomepage
path: root/debian/log.conf
diff options
context:
space:
mode:
Diffstat (limited to 'debian/log.conf')
-rw-r--r--debian/log.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/log.conf b/debian/log.conf
new file mode 100644
index 00000000..cf1f728f
--- /dev/null
+++ b/debian/log.conf
@@ -0,0 +1,21 @@
+[loggers]
+keys = root
+
+[handlers]
+keys = file
+
+[formatters]
+keys = simple
+
+[logger_root]
+level = INFO
+handlers = file
+
+[handler_file]
+class = handlers.WatchedFileHandler
+formatter = simple
+args = ('/var/log/ryu/ryu.log',)
+
+[formatter_simple]
+format = %(asctime)s.%(msecs)03d %(levelname)s %(name)s %(message)s
+datefmt = %Y-%m-%d %H:%M:%S