[jboss-user] [Beginner's Corner] - Application logging using log4j and JBoss 6.0.0

holstadius do-not-reply at jboss.com
Wed Apr 27 00:06:43 EDT 2011

holstadius [http://community.jboss.org/people/holstadius] created the discussion

"Application logging using log4j and JBoss 6.0.0"

To view the discussion, visit: http://community.jboss.org/message/602117#602117

I have been trying to get our own appender to work with JBoss 6. 

We have few different things that we need to deploy on JBoss, wars and jars.

We have written our own appender that we need to use for our logging, a type of syslog appender but with some extra features.

I have tried to follow  http://docs.jboss.org/process-guide/en/html/logging.html http://docs.jboss.org/process-guide/en/html/logging.html, but always get an error when trying to start up JBoss, coming from
the myapp.war/WEB-INF/jboss-web.xml

Have also tried a couple of other howTos but without any luck. 

Have gotten to a point where I see that our log4j.properties file is being found by looking at the logs, but it seems like the JBoss logger wrapps our
logger like :

21:01:56,623 INFO  [STDOUT] APPLICATION_LOG - 2011-04-26 21:01:56,623 INFO  [Thread-3] org.jboss.resteasy.spi.ResteasyDeployment Adding scanned resource: com...

So it looks like it can find one of the appenders our log4j.properties file, but seems like it is just taking the message from it and not actually performing the correct tasks.


Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110427/d7216d25/attachment-0001.html 

More information about the jboss-user mailing list