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 changing Log level dynamically at runtime? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "Log4j changing Log level dynamically at runtime?" Watch "Log4j changing Log level dynamically at runtime?" New topic
Author

Log4j changing Log level dynamically at runtime?

Sanjay Ra
Ranch Hand

Joined: Nov 05, 2004
Posts: 31
Hi,

I am planning to use log4j with my servlet code but would to know if i can change the log level dynamically while its running as opposed to just changing it at startup of the container?

thanks
Sanjay
 
IntelliJ Java IDE
 
subject: Log4j changing Log level dynamically at runtime?
 
Threads others viewed
Log4j rolling policy must be declared?
Connection reset by peer: socket write error
Can Log4j read two properties?
log4j: Reading Log level from DB
How to change xml attribute values with dom, or sax or jaxp?
Two Laptop Bag

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture