hi everybody, I'm slightly confused about the org.jboss.logging.Logger class.
>From my point of view this should be implemented as a singleton; however
right now for every invocation of Logger.getLogger(...) it shells out a
*new* instance of itself:
public static Logger getLogger(String name)
{
Logger logger = new Logger(name);
return logger;
}
Can anybody enlighten me on the reason behind this? It seems a bit
expensive to me with little added value ... of course I understand that
the underlying log4j Category object will be shared across all
instances, but still.
Best regards,
Christian
msg15798/pgp00000.pgp
Description: PGP signature
