Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix log4j warning message

  • Loading branch information...
commit 732f95def866417271cc5b2e1050e6767459b1cd 1 parent 6ad0a89
Bruce Robbins authored
Showing with 12 additions and 12 deletions.
  1. +12 −12 s4-core/src/main/resources/s4-core/conf/default/log4j.xml
View
24 s4-core/src/main/resources/s4-core/conf/default/log4j.xml
@@ -1,6 +1,18 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+ <appender name="R" class="org.apache.log4j.DailyRollingFileAppender">
+ <param name="File" value="${log_loc}/s4-core/s4-core_${instanceId}.log" />
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %c %p (%F:%L) %m%n"/>
+ </layout>
+ </appender>
+ <appender name="S" class="org.apache.log4j.DailyRollingFileAppender">
+ <param name="File" value="${log_loc}/s4-core/s4-core_${instanceId}.mon" />
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %c %p (%F:%L) %m%n"/>
+ </layout>
+ </appender>
<logger name="com.yahoo" additivity="false">
<level value="info"/>
<appender-ref ref="R"/>
@@ -25,18 +37,6 @@
<level value="info"/>
<appender-ref ref="S"/>
</logger>
- <appender name="R" class="org.apache.log4j.DailyRollingFileAppender">
- <param name="File" value="${log_loc}/s4-core/s4-core_${instanceId}.log" />
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %c %p (%F:%L) %m%n"/>
- </layout>
- </appender>
- <appender name="S" class="org.apache.log4j.DailyRollingFileAppender">
- <param name="File" value="${log_loc}/s4-core/s4-core_${instanceId}.mon" />
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %c %p (%F:%L) %m%n"/>
- </layout>
- </appender>
<root>
<priority value ="info" />
<appender-ref ref="R" />
Please sign in to comment.
Something went wrong with that request. Please try again.