From 35bb13b8333cad73a63349392fe6314167d67e38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20Ba=C5=9Faran?= Date: Sun, 21 Feb 2016 04:00:15 +0200 Subject: [PATCH] conf files --- etc/ahenk/ahenk.conf | 13 +++++++++++++ etc/ahenk/log.conf | 23 +++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/etc/ahenk/ahenk.conf b/etc/ahenk/ahenk.conf index e69de29..df26fe3 100644 --- a/etc/ahenk/ahenk.conf +++ b/etc/ahenk/ahenk.conf @@ -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 diff --git a/etc/ahenk/log.conf b/etc/ahenk/log.conf index e69de29..8ec9d52 100644 --- a/etc/ahenk/log.conf +++ b/etc/ahenk/log.conf @@ -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