-
1. Re: jboss AS 7.1.2 logging framwork
jamezp Jun 22, 2012 1:07 PM (in response to kkkanumuri)1 of 1 people found this helpfulJBoss AS 7 acutally uses JBoss Logging with JBoss Log Manager, not J.U.L.
Yes you can use log4j for internal logging purposes. You'll ideally want to configure your loggers/handlers in the logging subsystem, but you can also include a log4j configuration file (in 7.1.2 and 7.2.x) and logging subsystem will configure it for you.
--
James R. Perkins
-
2. Re: jboss AS 7.1.2 logging framwork
kkkanumuri Jun 25, 2012 4:53 AM (in response to jamezp)hi James R. Perkins,
thanks for your quick reply. It helps me alot. My question is can i configure jboss server in such a way that jboss server use the log4j instead of jboss logmanager. I am concerned about the jboss server itself. is it possbile?
--
krishnamaraju kanumuri
-
3. Re: jboss AS 7.1.2 logging framwork
jamezp Jun 25, 2012 12:15 PM (in response to kkkanumuri)krishnamaraju,
No, the application server itself must use JBoss Log Manager. You can however configure your application to use log4j. In EAP 6 and future community releases (7.2.x or if you build 7.1.2 from source) it will just work if you include a log4j configuration file within your deployment.
You can also use log4j in your application and configure it through the logging subsystem too. All that management tools allow runtime configuration loggers (categories) and handlers.
--
James R. Perkins