This week's book giveaway is in the Reactive Progamming forum. We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line! See this thread for details.
how does one go about setting up log 4j for an entire domain/container or all the applications in a domain/container.
posted 7 years ago
I have sorted this out. For glassfish add path for log.xml to .../domains/domain/config.log4j.xml and then add this to server config that you can do on the admin console via JVM settings. Restart. Add configureWatch() using a servlet context listener to a web app and deploy. This will pick up change in the intreval you specify. Deploy other apps and they will by default use this.
Well don't expect me to do the dishes! This ad has been cleaned for your convenience:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop