aboutsummaryrefslogtreecommitdiffstats
path: root/community/mopidy/logging.conf
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-05-21 12:36:22 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-21 11:04:09 +0000
commit32842555b0943bea51743b43882fd83924798797 (patch)
tree84371b14a37cde8cc52f65336423f0db86ff8888 /community/mopidy/logging.conf
parent403823ee875d7d9fabb5aed22e967127b79b5eda (diff)
downloadaports-32842555b0943bea51743b43882fd83924798797.tar.bz2
aports-32842555b0943bea51743b43882fd83924798797.tar.xz
testing/mopidy: move to community
Diffstat (limited to 'community/mopidy/logging.conf')
-rw-r--r--community/mopidy/logging.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/mopidy/logging.conf b/community/mopidy/logging.conf
new file mode 100644
index 0000000000..777e93b8a0
--- /dev/null
+++ b/community/mopidy/logging.conf
@@ -0,0 +1,21 @@
+[loggers]
+keys = root
+
+[handlers]
+keys = fileHandler
+
+[formatters]
+keys = simpleFormatter
+
+[logger_root]
+handlers = fileHandler
+
+[handler_fileHandler]
+class = FileHandler
+formatter = simpleFormatter
+level = INFO
+args = ('/var/log/mopidy/mopidy.log',)
+
+[formatter_simpleFormatter]
+format = %(asctime)s %(levelname)s [%(process)d:%(threadName)s] %(name)s: %(message)s
+datefmt =