Hi *,

my EJBs use JDK-Logging. It's possible to configure it by usage of a 
propperties file assigned at server start (VMArg).
JBoss uses Log4J. In the log4j.xml file the location of log folder is set.

<param name="File" value="${jboss.server.home.dir}/log/server.log"/>

Now the question: How can my beans log to the folder defined for JBoss Logging? 
The JDK Switches for location configuration are very limited. Is it possible to 
achieve this without code-changes in EJBs or exchanging JDK-API by Log4J-API (I 
don't want to use AOP or something like that)? 

Would be nice if someone could help me.
Thx. Per

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

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


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to