-
Notifications
You must be signed in to change notification settings - Fork 0
/
client.xml
28 lines (28 loc) · 1012 Bytes
/
client.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
27
28
<?xml version="1.0" encoding="UTF-8" ?>
<configuration scan="false" scanPeriod="60 seconds" debug="false">
<contextName>client ${HOSTNAME}</contextName>
<appender name="SOCKET" class="ch.qos.logback.classic.net.SocketAppender">
<RemoteHost>localhost</RemoteHost>
<Port>6000</Port>
<ReconnectionDelay>10000</ReconnectionDelay>
</appender>
<appender name="ASYNC_SOCKET" class="ch.qos.logback.classic.AsyncAppender">
<appender-ref ref="SOCKET" />
<IncludeCallerData>true</IncludeCallerData>
</appender>
<appender name="REDIS" class="ch.qos.logback.classic.redis.RedisAppender">
<key>logserver</key>
<pubsub>true</pubsub>
<pushpop>true</pushpop>
<queueSize>10240</queueSize>
<host>localhost</host>
<port>6379</port>
</appender>
<appender name="ASYNC_REDIS" class="ch.qos.logback.classic.AsyncAppender">
<appender-ref ref="REDIS" />
<IncludeCallerData>true</IncludeCallerData>
</appender>
<root level="DEBUG">
<appender-ref ref="ASYNC_SOCKET"/>
</root>
</configuration>