diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-05-21 12:36:22 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-21 11:04:09 +0000 |
commit | 32842555b0943bea51743b43882fd83924798797 (patch) | |
tree | 84371b14a37cde8cc52f65336423f0db86ff8888 /community/mopidy/logging.conf | |
parent | 403823ee875d7d9fabb5aed22e967127b79b5eda (diff) | |
download | aports-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.conf | 21 |
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 = |