There was discussion about logging to System.err or the servlet
container's log file if the prepared log file has already been closed.

[EMAIL PROTECTED] writes:

> Could the static Log class support a spare logging mechanism (System.err?)
> after shutdown of the primary logging service. When shutting down all
> services, some objects (at least the IDBroker thread) will stop themselves
> asynchronously after the shutdown method has been called and may try to log
> a shutdown message causing unnecessary exceptions to be thrown.
> 
> -- Ilkka
> 
> >    public void run()
> >    {
> >        Log.note("IDBroker thread was started.");
> >        while (!shutdown)
> >        {
> >            ...
> >        }
> >        Log.note("IDBroker thread finished.");
> >    }
> 
> --
> Nokia Networks 
> http://www.nokia.com/networks
> mail: [EMAIL PROTECTED]
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
> 
> 

-- 

Daniel Rall <[EMAIL PROTECTED]>


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to