conf files

This commit is contained in:
İsmail Başaran 2016-02-21 04:00:15 +02:00
parent f0e023cc82
commit 35bb13b833
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,13 @@
[BASE]
logConfigurationFilePath=/etc/ahenk/log.conf
[PLUGIN]
pluginFolderPath=/home/ismail/devzone/
mainModuleName=main
[CONNECTION]
jid=jid
nick=nick
receiverJid=receiverJid
sendFilePath=sendFilePath
receiveFileParam=receiveFileParam

View file

@ -0,0 +1,23 @@
[formatters]
keys=default
[formatter_default]
format=format=%(asctime)s %(name)-12s %(levelname)-8s %(message)s
class=logging.Formatter
[handlers]
keys=file
[handler_file]
class=logging.FileHandler
level=ERROR
formatter=default
args=("/var/log/ahenk.log", "w")
[loggers]
keys=root
[logger_root]
level=DEBUG
formatter=default
handlers=file