This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes log4j.xml for app log. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "log4j.xml for app log." Watch "log4j.xml for app log." New topic
Author

log4j.xml for app log.

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 753
This is my log4j.xml file at ...jboss/server/default/confi directory..



What and where should i make changes to create application specific log.

The name of my application's war file is Tools.war


Jigar Naik


Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
Already answered in the post below:
http://www.coderanch.com/t/363902/Servlets/java/Logging

In case you are using xml configuration file then use DOMConfigurator instead of PropertyConfigurator.


Rahul Bhattacharjee
LinkedIn - Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: log4j.xml for app log.
 
Similar Threads
getting errors I can't explain...anyone can help out ?
Jboss Console not updating
Jboss final start up message not comes up in console
invalid console appender .....
How to monitor log file in jboss for sending mails,when error or excetion found in log