Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Other Open Source Projects
Why the first log4j Logger getting overridden by another Logger with different name?
posted 8 years ago
"public static Logger getLogger(
Retrieve a logger named according to the value of the name parameter. If the named logger already exists, then the existing instance will be returned. Otherwise, a new instance is created."
In the above it is stated that a new instance will be returned if another name is given to create a Logger. But in my case, the first one is getting overridden.
Ruth Stout was famous for gardening naked. Just like this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
Boost this thread!
can I use a single java.util.logging.logger instance for entire project
Static methods and variables.
Doubt in K&B SCJP 5: Chapter 9 (Threads), Q12.
GC (Dan Question)