I presume what you are saying here is you need a dedicated logging for 
yr application without interfrence of JBoss logging.
If thats the case then you need a dedicated appender say
RollingFile Appender.
<appender name="YR_FILE" class="org.jboss.logging.appender.RollingFileAppender">
  | -------Path of appender and other setting comes here
  | --------
  | </appender>

So what you need is to get the logger you have used in yr application,
get that logger in log4j.xml config file.
<logger name="au.com.j2ee.MyLogger" appenditvity="false">
  | <appender-ref ref="YR_FILE" />
  | </logger>  

Don't attach this appender to  logger ...and as long as yr appender name is 
unique  in the sense that loggers of JBos are not using that appender, so be 
careful with the name of appender.

I hope this helps.
Vishal

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868802#3868802

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868802


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to