[jboss-user] [EJB 3.0 Users] - Logging an EJB jar deployed under JBoss
do-not-reply at jboss.com
Mon Nov 30 09:37:40 EST 2009
I would like to log operations of my ejb jar deployed under JBoss 4.2.3.
The classic FileAppender doesn't work and log are written into server.log of JBoss log folder.
I managed to use FileAppender with org.jboss.logging.filter.TCLFilter in the jboss-log4j.xml. This works but I would like to have the log configuration in my application. Every applications (in my company) have a log4j embedded and loaded by Maven when packaging depending on the chosen profile. Is there a way to use org.jboss.logging.filter.TCLFilter directly in my EJB application ?
If not, do you know an other way to log in a file with an ejb packaged as jar ?
Thank a lot for your help.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268101#4268101
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268101
More information about the jboss-user