logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Kulkarni <ashish.kulkarn...@gmail.com>
Subject logging issue in application installed on clustered Weblogic Server
Date Mon, 04 May 2009 18:05:58 GMT
HiWe have any application which is installed on a clustered Weblogic server,
there are 3 clusters on which this application is installed,

All the logs written by startup servlet are written to both A1 and STDOUT
appender, but then once the application is running logs are written to
STDOUT only

How do i find out what is happening and fix it

my log4j.xml file is as below

<appender name="A1"
class="org.apache.log4j.DailyRollingFileAppender">
<param name="File" value="/myapp/logfile/log4jXml.xml" />
<param name="DatePattern" value="'.'yyyy-MM-dd" />
<layout class="org.apache.log4j.xml.XMLLayout">
</layout>
</appender>
<appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="%d %-5p [%t] %C{2} (%F:%L) - %m%n" />
</layout>
</appender>

<root>

<priority value="DEBUG" />
<appender-ref ref="STDOUT" />
<appender-ref ref="A1" />
</root>

I am noticis

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message