-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathzlog-cfg
56 lines (39 loc) · 1.37 KB
/
zlog-cfg
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
[global]
strict init = false
buffer min = 1024
buffer max = 2MB
default format = "%d(%F %X).%us %-6V (%c:%F:%U:%L) - %m%n"
file perms = 666
fsync period = 1K
[levels]
[formats]
null = "%n"
print = "[%-10.3d(%F)]%n"
file_format = "%d(%F %X).%us %-5V %c %m%n"
console_format = "%d(%F %X).%us %c %5V - %m%n"
[rules]
BF_SYS.ERROR >stdout;console_format
BF_SYS.DEBUG "p4_driver.log", 5M * 5 ;file_format
BF_LLD.ERROR >stdout;console_format
BF_LLD.DEBUG "p4_driver.log", 5M * 5 ;file_format
BF_PIPE.ERROR >stdout;console_format
BF_PIPE.ERROR "p4_driver.log", 5M * 5 ;file_format
BF_DVM.ERROR >stdout;console_format
BF_DVM.DEBUG "p4_driver.log", 5M * 5 ;file_format
BF_PORT.ERROR >stdout;console_format
BF_PORT.DEBUG "p4_driver.log", 5M * 5 ;file_format
BF_API.ERROR >stdout;console_format
BF_API.DEBUG "p4_driver.log", 5M * 5 ;file_format
BF_PAL.ERROR >stdout;console_format
BF_PAL.DEBUG "p4_driver.log", 5M * 5 ;file_format
BF_PM.ERROR >stdout;console_format
BF_PM.DEBUG "p4_driver.log", 5M * 5 ;file_format
BF_BFRT.ERROR >stdout;console_format
BF_BFRT.ERROR "p4_driver.log", 5M * 5 ;file_format
KRNLMON.ERROR >stdout;console_format
KRNLMON.DEBUG "krnlmon.log", 5M * 5 ;file_format
OVSP4RT.ERROR >stdout;console_format
OVSP4RT.DEBUG "ovsp4rt.log", 5M * 5 ;file_format
INFRAP4D.ERROR >stdout;console_format
INFRAP4D.DEBUG "infrap4d.log", 5M * 5 ;file_format
*.ERROR >syslog , LOG_USER