mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 06:32:19 +03:00
conf files
This commit is contained in:
parent
f0e023cc82
commit
35bb13b833
2 changed files with 36 additions and 0 deletions
|
@ -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
|
|
@ -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
|
Loading…
Reference in a new issue