Strange [?] Last time I used log4j it works fine this way. Its even described there #11 How can I change log behavior at runtime?<http://logging.apache.org/log4j/1.2/faq.html#2.2>
2009/8/13 AL <[email protected]> > Hey everyone, > > I have a J2EE app using EJB 2.1, Struts 1 and Hibernate, running on JBoss > 4.2.3 and want to be able to modify various properties in log4j.properties > without having to restart the app server, e.g. Change the log level from > info to debug. > > What's the best way to get this set up?Should it be done in a servlet upon > application startup? I've googled this but haven't found a definitive best > practice solution. I've tried configure and watch but it throws exceptions > when I change the log level and save the file.. > > Thanks for any help! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Regards, Alexander
