[jboss-user] [Installation, Configuration & DEPLOYMENT] - Jboss and log4j

roberto.k do-not-reply at jboss.com
Sun Apr 20 08:33:39 EDT 2008


I'm trying to log my webapp with JBoss

For a misterious reason, JBoss logging must be declared in jboss-log4j.xml (I don't understand why I can't use log4j.xml in my war, like any other AS in the world...)

Then, I removed log4j.xml form my ear/war and I moved appenders in jboss-log4j.xml. And... There is a problem... ONLY for my classes, a question mark appears in place of line number:

[14:04:46,226 INFO] it.web.controller.security.Login.execute(?) - Inizio
Login

This is the configuration:

....














.....







<appender-ref ref="CONSOLE" />

<appender-ref ref="MY_APPENDER" />









<appender-ref ref="CONSOLE"/>

<appender-ref ref="FILE"/>



Any idea?
Thanks

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

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



More information about the jboss-user mailing list