summaryrefslogtreecommitdiffhomepage
path: root/debian/log.conf
diff options
context:
space:
mode:
authorYoshihiro Kaneko <ykaneko0929@gmail.com>2014-06-16 18:40:42 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-06-17 06:50:42 +0900
commit712d599f541f3e7bbc14833e2b6f55de964eebdb (patch)
treeaae29235f2674ca0b839b37f1dee00dc98de4969 /debian/log.conf
parent4f19fc54cd671d594a685abf7ab44e8c09d4956d (diff)
add debian files to make packages for Ubuntu
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
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