-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathseelog.xml
26 lines (26 loc) · 1.33 KB
/
seelog.xml
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
<seelog type="asynctimer" asyncinterval="1000000">
<outputs formatid="all">
<filter levels="info" formatid="fmtinfo" >
<console/>
<rollingfile type="size" filename="goiostat.log" maxsize="20000000" maxrolls="5" />
</filter>
<filter levels="warn" formatid="fmtwarn">
<console/>
<rollingfile type="size" filename="goiostat.log" maxsize="20000000" maxrolls="5" />
</filter>
<filter levels="error,critical" formatid="fmterror">
<console/>
<rollingfile type="size" filename="goiostat.log" maxsize="20000000" maxrolls="5" />
</filter>
<filter levels="debug,trace">
<console/>
<rollingfile type="size" filename="goiostat.log" maxsize="20000000" maxrolls="5" />
</filter>
</outputs>
<formats>
<format id="fmtinfo" format="%EscM(32)[%Level]%EscM(0) [%Date %Time] [%File] %Msg%n"/>
<format id="fmterror" format="%EscM(31)[%LEVEL]%EscM(0) [%Date %Time] [%FuncShort @ %File.%Line] %Msg%n"/>
<format id="fmtwarn" format="%EscM(33)[%LEVEL]%EscM(0) [%Date %Time] [%FuncShort @ %File.%Line] %Msg%n"/>
<format id="all" format="%EscM(2)[%LEVEL]%EscM(0) [%Date %Time] [%FuncShort @ %File.%Line] %Msg%n"/>
</formats>
</seelog>