Scott,

you hit the nail by 100%; 
yes I am using SocketAppenders, 
but will try the suggestion Monday and let you know.

Josef.Stadelmann
@axa-winterthur.ch




-----Ursprüngliche Nachricht-----
Von: Scott Deboy [mailto:[email protected]] 
Gesendet: Donnerstag, 5. August 2010 18:23
An: Log4J Users List
Betreff: Re: Hangup / long Delays at Tomcat Startup and Shutdown

Are you using a SocketAppender?  Two suggestions:
 - Use SocketHubAppender and SocketHubReceiver instead (tomcat will open a
socket and allow connections to come in, but won't block waiting for a
connection, OR
 - Use VFS/LogFilePatternReceiver to tail and parse the tomcat log file
(works really well - you can even delete the log file and Chainsaw will
continue to tail the file, if configured with the correct params)

If you don't mind possibly losing messages, you could use UDPAppender or
MulticastAppender - neither of them block.

Scott

On Thu, Aug 5, 2010 at 9:16 AM, Stadelmann Josef <
[email protected]> wrote:

> Hi,
>
> Do I have to expect hang-ups and delays during tomcat start-ups and
> shut-downs?
> I have configured tomcat so that it logs to a CHAINSAW_CLIENT appende.
> All is configured correct and works fine and I can really use chainsaw
> (it works well)!
>
> BUT
> a)      if I have NOT started chainsaw on the PC prior to startup OR
> b)      if I shut-down chainsaw first and then try to shutdown tomcat
>
> I can see hangups and delays on startup and shutdown
> Maybe I am missing something.
>
> Josef
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to