BAEL-41 - Commenting out failover configuration
This commit is contained in:
parent
6564693ea5
commit
e6c1562f83
|
@ -19,12 +19,14 @@
|
||||||
<Async name="AsyncAppender" bufferSize="80">
|
<Async name="AsyncAppender" bufferSize="80">
|
||||||
<AppenderRef ref="JSONLogfileAppender" />
|
<AppenderRef ref="JSONLogfileAppender" />
|
||||||
</Async>
|
</Async>
|
||||||
|
<!--
|
||||||
<Syslog name="Syslog" format="RFC5424" host="localhost" port="514" protocol="TCP" facility="local3" connectTimeoutMillis="10000" reconnectionDelayMillis="5000" mdcId="mdc" includeMDC="true" />
|
<Syslog name="Syslog" format="RFC5424" host="localhost" port="514" protocol="TCP" facility="local3" connectTimeoutMillis="10000" reconnectionDelayMillis="5000" mdcId="mdc" includeMDC="true" />
|
||||||
<Failover name="FailoverAppender" primary="Syslog">
|
<Failover name="FailoverAppender" primary="Syslog">
|
||||||
<Failovers>
|
<Failovers>
|
||||||
<AppenderRef ref="ConsoleAppender" />
|
<AppenderRef ref="ConsoleAppender" />
|
||||||
</Failovers>
|
</Failovers>
|
||||||
</Failover>
|
</Failover>
|
||||||
|
-->
|
||||||
<JDBC name="JDBCAppender" tableName="logs">
|
<JDBC name="JDBCAppender" tableName="logs">
|
||||||
<ConnectionFactory class="com.baeldung.logging.log4j2.tests.jdbc.ConnectionFactory" method="getConnection" />
|
<ConnectionFactory class="com.baeldung.logging.log4j2.tests.jdbc.ConnectionFactory" method="getConnection" />
|
||||||
<Column name="when" isEventTimestamp="true" />
|
<Column name="when" isEventTimestamp="true" />
|
||||||
|
@ -53,9 +55,11 @@
|
||||||
<Logger name="ASYNC_JSON_FILE_APPENDER" level="INFO" additivity="false">
|
<Logger name="ASYNC_JSON_FILE_APPENDER" level="INFO" additivity="false">
|
||||||
<AppenderRef ref="AsyncAppender" />
|
<AppenderRef ref="AsyncAppender" />
|
||||||
</Logger>
|
</Logger>
|
||||||
|
<!--
|
||||||
<Logger name="FAIL_OVER_SYSLOG_APPENDER" level="INFO" additivity="false">
|
<Logger name="FAIL_OVER_SYSLOG_APPENDER" level="INFO" additivity="false">
|
||||||
<AppenderRef ref="FailoverAppender" />
|
<AppenderRef ref="FailoverAppender" />
|
||||||
</Logger>
|
</Logger>
|
||||||
|
-->
|
||||||
<Logger name="JDBC_APPENDER" level="INFO" additivity="false">
|
<Logger name="JDBC_APPENDER" level="INFO" additivity="false">
|
||||||
<AppenderRef ref="JDBCAppender" />
|
<AppenderRef ref="JDBCAppender" />
|
||||||
</Logger>
|
</Logger>
|
||||||
|
|
Loading…
Reference in New Issue