;
; config file for the call-back Daemon
;

; config for Database connection
[database_my]
hostname = localhost
port = 
user = root
password = password
dbname = a2billing
; dbtype value : postgres / mysql
dbtype = mysql

[database]
hostname = localhost
port = 5432
user = postgres
password = 
dbname = a2b_13
; dbtype value : postgres / mysql
dbtype = postgres


; config for the daemon process
[daemon-info]
uid = 
gid = 
pidfile = /var/run/a2b-callback-daemon.pid
;pidfile = ./a2b-callback-daemon.pid


; config for the logger
; article on http://www.red-dove.com/python_logging.html
[loggers]
keys=root,callbackLogger


[handlers]
keys=consoleHandler,FileHandler


[formatters]
keys=callbackFormatter


[logger_root]
;level=DEBUG
level=INFO
handlers=consoleHandler,FileHandler


[logger_callbackLogger]
;level=DEBUG
level=INFO
handlers=consoleHandler,FileHandler
qualname=callbackLogger
propagate=0


[handler_consoleHandler]
class=StreamHandler
;level=DEBUG
level=INFO
formatter=callbackFormatter
args=(sys.stdout,)


[handler_FileHandler]
class=FileHandler
level=DEBUG
formatter=callbackFormatter
args=('/var/log/a2b-callback-daemon.log', 'a')
filename=/var/log/a2b-callback-daemon.log
mode=a


[formatter_callbackFormatter]
format="%(asctime)s - %(name)s - %(threadName)-10s - %(levelname)s - %(message)s"
datefmt=



