Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Log4j Configurattion in config file  RSS feed

 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Can't .... do .... plaid .... So I did this tiny ad instead:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!