Agreed. Although I think the preferred solution is to "configure your logging at the server start" due to performance concerns.
thx ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Tony Yan (Bin) BHNSM/DOH/NYS Tel: 518-473-1809 Email: [EMAIL PROTECTED] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Jin Zhao <[EMAIL PROTECTED] To: Log4J Users List <[EMAIL PROTECTED]> > cc: Subject: Re: UNIX file handler problem used up on log4j log files 08/30/2002 12:59 PM Please respond to "Log4J Users List" I guess so. Since you didn't close those file handles before another PropertyConfigurator call, they are accumulated with each servlet hit. You can call Logger.shutdown after each session to see if it fixes the problem. Alternatively, you may only need configure your logging at the server start up instead of reconfiguring them at each servlet hit. A question to Ceki: Can the same problem happen to configureAndWatch() ? Jin On Friday, August 30, 2002, at 10:45 AM, Bin Yan wrote: > We call the PropertyConfigurator each time a servlet is hit and MyLog is > initiated. Maybe that's teh problem? > thx > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Tony Yan (Bin) > BHNSM/DOH/NYS > Tel: 518-473-1809 > Email: [EMAIL PROTECTED] > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > > > > Ceki Gülcü > > <[EMAIL PROTECTED]> To: "Log4J Users > List" <[EMAIL PROTECTED]> > cc: > > 08/30/2002 11:41 Subject: Re: UNIX file > handler problem used up on log4j log files > AM > > Please respond to > > "Log4J Users > > List" > > > > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED] > For additional commands, e-mail: <mailto:[EMAIL PROTECTED] > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>