30 lines
471 B
Plaintext
30 lines
471 B
Plaintext
[global]
|
|
strict init = true
|
|
reload conf period = 10M
|
|
|
|
buffer min = 1024
|
|
buffer max = 2MB
|
|
|
|
#rotate lock file = /tmp/zlog.lock
|
|
rotate lock file = self
|
|
default format = "%d(%F %T.%l) %-6V (%c:%F:%L) - %m%n"
|
|
|
|
file perms = 600
|
|
fsync period = 1K
|
|
|
|
[levels]
|
|
TRACE = 10
|
|
CRIT = 130, LOG_CRIT
|
|
|
|
[formats]
|
|
simple = "%m"
|
|
normal = "[%d(%F %T).%ms][%-6V][%f:%L] - %m"
|
|
|
|
[rules]
|
|
*.* >stdout; normal
|
|
*.* "./log/%c.log", \
|
|
1MB * 12 ~ "%E(HOME)/log/%c.%D(%F) #2r #3s.log"; \
|
|
normal
|
|
|
|
|