forked from HardySimpson/zlog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_conf.conf
30 lines (23 loc) · 1.11 KB
/
test_conf.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
[global]
strict init = true
buffer min= 1024
buffer max= 2MB
rotate lock file = /tmp/zlog.lock
default format = "defalut - %d(%F %X.%ms) %-6V (%c:%F:%U:%L) - %m%n"
[formats]
null = "%n"
print = "print - [%-10.3d(%F)]%n"
date = "date start%n%d(%a--Wed)%n%d(%A--Wednesday)%n%d(%b--Mar)%n%d(%B--March)%n%d(%c--WedMar211:45:262011)%n%d(%C--20)%n%d(%d--02)%n%d(%D--03/02/11)%n%d(%e--2)%n%d(%F--2011-03-02)%n%d(%g--11)%n%d(%G--2011)%n%d(%h--Mar)%n%d(%H--11)%n%d(%I--11)%n%d(%j--061)%n%d(%k-k)%n%d(%l-l)%n%d(%ms--500)%n%d(%m--03)%n%d(%M--45)%n%d(%us--500730)%n%d(%p--AM)%n%d(%r--11:45:26AM)%n%d(%R--11:45)%n%d(%s--epoch)%n%d(%S--26)%n%d(%t--)%n%d(%T--11:45:26)%n%d(%u--3)%n%d(%U--09)%n%d(%V--09)%n%d(%w--3)%n%d(%W--09)%n%d(%x--03/02/11)%n%d(%X--11:45:26)%n%d(%y--11)%n%d(%Y--2011)%n%d(%z--+0800)%n%d(%Z--CST)%n%d(%%--%)%n%d(%J--%J)%ndate end%n"
simple = "simple - %m%n"
text = "text - text%n"
ms = "ms - %d(%a--Wed)[%d(%ms)]%n"
msus = "msus - %d(%ms,%us,%ms,%us)%n"
[rules]
*.* >stderr;
*.* >stderr; null
*.* >stderr; print
*.* >stderr; date
*.* >stderr; simple
*.* >stderr; text
*.* >stderr; ms
*.* >stderr; msus