Hi, > On Fri, 2001-12-28 at 18:52, Scott M Stark wrote: > > Making this a singleton would require that all loggers > > used the same category name and this is not what we want. > > I'm still not getting it. In the constructor, we are getting a static > log4j Category anyways for the given name: > > log = Category.getInstance(name);
replying to oneself makes you feel really stupid :). OK, I get it, Category.getInstance(name) returns a NEW Category when a Category for that name hasn't already been created. Forgot to read the fineprint in the log4j API docs. Doh. Regards, Christian
msg15805/pgp00000.pgp
Description: PGP signature