Hi,
    I need to send the log messages from different categories to go to
different appenders.If I have a

log4j.rootCategory=DEBUG,console

then any other appender addition for some category is not reflected.

One more functionality that is needed is to send output of a particular
priority of a prticular category to different appenders.I tried the
following,but it does not work.

log4j.category.com.mizuho.rdw.asset.helper.AssetRequestPublisher=DEBUG,assetRequest

log4j.appender.assetRequest=org.apache.log4j.DailyRollingFileAppender
log4j.appender.assetRequest.File=/usr/log/assetRequest.log
log4j.appender.assetRequest.DatePattern='.'yyyy-MM
log4j.appender.assetRequest.Append=false
log4j.appender.assetRequest.layout=org.apache.log4j.PatternLayout
log4j.appender.assetRequest.layout.ConversionPattern=%d{DATE} : %c :
%-5p : %m%n


log4j.rootCategory=DEBUG, console
#----------------------------------------------------------------------------

# console configuration.
#----------------------------------------------------------------------------

log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d{DATE} : %c : %-5p :
%m%n


TIA,

Mani


**************************Disclaimer************************************
      


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 ********************************************************************

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

Reply via email to