2 Replies Latest reply on Mar 1, 2005 1:39 AM by aspa

    Component initialization

    aspa

      i'm planning on using log4j for logging application events for an EJB component which consists of SessionBeans and EntityBeans. i'd like to have my component logging separate from the application server logging.

      being an EJB novice i'm having problems figuring out how to do one-time global initialization for the component i.e. where do i put the code for configuring log4j:

      PropertyConfigurator.configure("log4j.conf");


      br. aspa