bael-4843: add syslog appender to log4j conf
This commit is contained in:
parent
ec43ac575a
commit
2b64a6a263
|
@ -22,6 +22,10 @@
|
|||
<TimeBasedTriggeringPolicy />
|
||||
</Policies>
|
||||
</RollingFile>
|
||||
|
||||
<Syslog name="Syslog" format="RFC5424" host="localhost" port="514"
|
||||
protocol="UDP" appName="baeldung" facility="LOCAL0" />
|
||||
|
||||
</Appenders>
|
||||
|
||||
<Loggers>
|
||||
|
@ -29,6 +33,7 @@
|
|||
<Root level="info">
|
||||
<AppenderRef ref="Console" />
|
||||
<AppenderRef ref="RollingFile" />
|
||||
<AppenderRef ref="Syslog" />
|
||||
</Root>
|
||||
|
||||
<!-- LOG "com.baeldung*" at TRACE level -->
|
||||
|
|
Loading…
Reference in New Issue