I've never set up log4j programmatically - I always use a .properties or
-properties.xml file. I'd probably have some kind of logging wrapper to isolate the
app from Category, etc. So perhaps a static initialization block in that wrapper class
would work.
Donnie
>>> [EMAIL PROTECTED] 02/07/0
Thanks Donnie and Ceki. One more question - how do you set up log4j?
Do you use a WebLogic startup class (will tie you to an app server
vendor)? A stateless session bean that is loaded in the free pool when
the server starts up? Or other mechanism?