I was wondering if someone could give me insight into the difference between doing a Logger.getLogger("whatever") vs a LogManager.getLogger("whatever").org.apache.log4j.Loggervsorg.apache.log4j.LogManagerThanks
12/13/2007 4:20:20 PM
is one thread safe?
12/13/2007 5:23:36 PM
I'm just guessing, but Logger.getLogger(String s) actually creates a logger instance if it doesn't exist. I imagine LogManager is just using allowing you to find a logger that already exists.[Edited on December 13, 2007 at 5:29 PM. Reason : :]
12/13/2007 5:29:01 PM