-
Notifications
You must be signed in to change notification settings - Fork 174
/
a2billing.conf
executable file
·73 lines (58 loc) · 1.54 KB
/
a2billing.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
;
; A2Billing config file
; ---------------------
; Global Database Setup - select the database type and authentication as required.
[database]
hostname = localhost
port =
user = a2billing_dbuser
password = a2billing_dbpassword
dbname = a2billing_dbname
; dbtype setting can either be mysql or postgres
dbtype = mysql
[csrf]
csrf_token_salt = SALT
; config for the daemon process
[daemon-info]
uid =
gid =
pidfile = /var/run/a2billing/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,RotatingFileHandler
[formatters]
keys=callbackFormatter
[logger_root]
level=DEBUG
handlers=consoleHandler,RotatingFileHandler
[logger_callbackLogger]
level=DEBUG
handlers=consoleHandler,RotatingFileHandler
qualname=callbackLogger
propagate=0
[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=callbackFormatter
args=(sys.stdout,)
[handler_FileHandler]
class=FileHandler
level=DEBUG
formatter=callbackFormatter
args=('/var/log/a2billing/a2b-callback-daemon.log', 'a')
filename=/var/log/a2billing/a2b-callback-daemon.log
mode=a
[handler_RotatingFileHandler]
;class=handlers.RotatingFileHandler
class=handlers.TimedRotatingFileHandler
level=DEBUG
formatter=callbackFormatter
; TimedRotatingFileHandler
args=('/var/log/a2billing/a2b-callback-daemon.log', 'midnight', 1)
[formatter_callbackFormatter]
format="%(asctime)s - %(name)s - %(threadName)-10s - %(levelname)s - %(message)s"
datefmt=