From: Kevin G. <ke...@go...> - 2004-01-13 16:27:28
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 William McKee wrote: | but what if I run multiple applications that use | Log4perl? It looks like you are calling a class attribute. At startup, | it seems like one app could initialize the object and the next would not | initialize its logger object and run into problems. Yup, that's why you have to think in terms of one big log4perl engine per interpreter. It follows from that that you'd have one big config file for your whole site, not separate configs for each application. With the flexibility of categories, it should be simple to keep the applications' logging behavior separate. | BTW, why won't this code work in a multi-threaded environment? Mike,can you answer that one? - -- Happy Trails . . . Kevin M. Goess (and Anne and Frank) 904 Carmel Ave. Albany, CA 94706 (510) 525-5217 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org iD8DBQFABBxi4g4/Tl71vUkRAkiHAJ9DmQUsU/JrflAza2afflll6xhJbQCgmWcP byP4U/nDClEXNdhuLtQuAbQ= =Afuc -----END PGP SIGNATURE----- |