21 lines
406 B
Plaintext
21 lines
406 B
Plaintext
|
|
[global]
|
|
strict init = true
|
|
|
|
buffer min = 1024
|
|
buffer max = 2MB
|
|
|
|
rotate lock file = /var/run/python/zlog.lock
|
|
|
|
file perms = 600
|
|
fsync period = 1K
|
|
|
|
[formats]
|
|
debugfm = "%d(%F %T),%ms <%V> [%F:%L] %m%n"
|
|
consolefm = "%d(%F %T),%ms <%V> [%F:%L] %m%n"
|
|
syslogfm = "%d(%F %T),%ms %V [%E(MYNAME)]: %m%n"
|
|
|
|
[rules]
|
|
my_.DEBUG "/var/run/python/%E(MYNAME).log", 2M * 1; debugfm
|
|
my_.INFO >stdout; syslogfm
|