File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes Log4j Configurattion in config file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "Log4j Configurattion in config file" Watch "Log4j Configurattion in config file" New topic
Author

Log4j Configurattion in config file

Saurabh Agrawal
Ranch Hand

Joined: Oct 07, 2003
Posts: 238
Hello all,
I am intending to use log4j in my existing project.Currently it is using some wrapper around log4j as such , which i want to remove.

We have a config.xml file which is initialzed firstly and does all the configurations needed for the application.

I have made a logger.properties file which i need to load in the memory so that my JAVA classes can use it.So i need to make some additions in config.xml file.Can anyone tell me how do i make a configuration change in config.xml so that it picks the logger.properties file and configures log4j.

Any help would be appreciated.
Thanks in advance,
Saurabh


Success is not doing extraordinary things but doing ordinary things extraordinarily well.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Log4j Configurattion in config file
 
Similar Threads
log4j setting in enterprise project structure
Strange issue with LogManager
RAD6/WAS6 Logging config..
How to clear log files?
Logging