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

Reply via email to