You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "Villy Jørgensen (VIJ)" <vi...@lindhard.com> on 2001/01/19 14:49:12 UTC

Using log4j


> -----Original Message-----
> From: Ceki Gulcu [mailto:cgu@urbanet.ch]
> Sent: 19. januar 2001 14:36
> To: Villy Ib Joergensen
> Subject: Re: Where to send questions about log4j ?
> 
> 
> Hi Villy,
> 
> At 14:10 19.01.2001 +0100, you wrote:
> >Hello Ceki Gulcu.
> >
> >I am starting to use log4j.
> >
> >Where is it appropriate to send questions to cgu@urbanet.ch or to
> >log4j-announce@log4j.org
> 
> 
> Neither. Send such requests to log4j-user@jakarta.apache.org. 
> To subscribe 
> send email to log4j-user-subscribe @jakarta.apache.org.
> 
> >By the way here is my technically question.
> >
> >I am making web applications initiated as CGI-scripts.  This 
> make a lot
> >of individual processes running the same application..
> 
> What is a process for you?
A process is a process on a SUN, just the same as if i log in with a
terminal. This means two different processes does not know anything of each
other.  

More specific my web server is "Netscape Enterprise Server 3.63".


> 
> >I want them to log to the same logfile.
> >
> >What is the right approach to use ?
> >
> >     a) SocketAppender(s) sendeing to the SocketServer - tested is
> >working.
> >
> 
> That's the best way.
> 
> >     b) AsyncAppender - my test does not work.
> 
> Why not?
> 
> 
> >     c) FileAppender - not tested multiple processes to same logfile.
> 
> Define process.
> 
> 
> >2nd Q:
> >
> >     How do i identify my different but equal processes in 
> my logfile -
> >if category is set to classnames loggings from different 
> proccesses will
> >look equal because they all run the same applicatin.
> >
> >I have made an experiment with taking the miliseconds from 
> the startup
> >timestamp and assign it to threat name - this looks for the 
> test example
> >Ok, in a live environment I would probably add the client IP address.
> 
> Have a look at the NDC class. Ceki
> 

Villy Ib Jørgensen
Lindhard A/S

mailto:iamia@bigfoot.com