Re: Logging in separate Thread

2008-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan and Matthias, Reich, Matthias wrote: | I think it is better to start one background worker thread and pass | the log requests to that thread with the help of a queue. Definitely. Otherwise, you could have threads piling up on one another if ever

RE: Logging in separate Thread

2008-02-14 Thread Reich, Matthias
Message- From: Jan Mönnich [mailto:[EMAIL PROTECTED] Sent: Thursday, February 14, 2008 4:56 PM To: Tomcat Users List Subject: Logging in separate Thread Hi folks, we want to log just the domain name a user comes from. As the required DNS reverse lookup can take some time, we would like to do the

Logging in separate Thread

2008-02-14 Thread Jan Mönnich
Hi folks, we want to log just the domain name a user comes from. As the required DNS reverse lookup can take some time, we would like to do the lookup and the logging in a separate thread. Is it a good idea to just start a new thread for that from a servlets doPost() method? Thanks in advance! J