Hi, 

My app is build using struts and log4j. All logging is going under
appName/WEB-INF/logs/app.log file. Recently, I added poolman, which writes
to its log file (DEBUG statements) to appName/WEB-INF/logs/pool.log.
However, I see poolman logging messages in app.log. How can I reconfigure my
logConfig.xml file?

Thanks, Mark.

logConfig.xml
-------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration>

  <appender name="A1" class="org.apache.log4j.RollingFileAppender">
     <param name="File"   value="c:\\tomcat4\\webapps\\myapp\\log\\app.log"
/>
     <param name="Append" value="false" />     
     <param name="MaxFileSize" value="10MB" />
     <param name="MaxBackupIndex" value="100" />

     <layout class="org.apache.log4j.PatternLayout">
        <param name="ConversionPattern" value="%d{dd MMM yyyy HH:mm:ss,SSS}
%-5p: %C{1},%L - %m%n"/>
     </layout>      

  </appender>
  
  <root>
     <priority value ="info" />
       <appender-ref ref="A1" />
  </root>
  
</log4j:configuration>
-------------------------------------



------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated 
recipient(s) named above.  If you are not the intended recipient of this message you 
are hereby notified that any review, dissemination, distribution or copying of this 
message is strictly prohibited.  This communication is for information purposes only 
and should not be regarded as an offer to sell or as a solicitation of an offer to buy 
any financial product, an official confirmation of any transaction, or as an official 
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or 
error-free.  Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.  All information is subject to 
change without notice.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to