Details
-
Bug
-
Resolution: Unresolved
-
None
-
1.5.x
-
None
-
Operating System: Linux
Platform: All
-
major
-
P1
-
250
Description
Using Spring 3.1.0.RC1/slf4j 1.5.8/log4j 1.2.16
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.5.8</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.5.8</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.5.8</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd" >
<log4j:configuration debug="false">
<appender name="stdout" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d
%t %X
{hostname} %m%n"/></layout>
</appender>
<appender name="dailyRollingFileAppender" class="org.apache.log4j.DailyRollingFileAppender">
<param name="File" value="/logs/xyz.log"/>
<param name="Append" value="true"/>
<param name="DatePattern" value="'.'yyyy-MM-dd"/>
<layout class="org.apache.log4j.PatternLayout">
<!-
<param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss.SSS} %t %X{hostname}
%m%n"/>
</layout>
</appender>
</log4j:configuration>
logging seems to work fine on local box. We are able to see console logging as well as file logging. However in a lunix box using websphere 7 the file log is empty. Any help is much appreciated/