> 1. How does one start log4j in a webapp? Is having the > log4j.properties or log4j.xml file in the classpath enough?
Usually yes. You should have log4j itself in the classpath, of course. > 2. How does one stop log4j in a webapp? Configure it via log4j config, then restart webapp (this reloads configuration) > 3. Is there a way to specify which level of logging, i.e. debug, info, > error, is printed? Yes, via the log4j configuration file. http://logging.apache.org/log4j/1.2/manual.html (search for configuration) Cheers, Christian > > Thanks. > > -Ari > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- http://www.grobmeier.de --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
