Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "log4j.xml for app log." Watch "log4j.xml for app log." New topic

log4j.xml for app log.

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 761
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:

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

Rahul Bhattacharjee
LinkedIn - Blog
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: log4j.xml for app log.
jQuery in Action, 3rd edition