logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken....@bmwna.com
Subject RE: automatic reload
Date Tue, 11 Nov 2003 20:45:49 GMT
BTW, reloading via a servlet in this way has some potential security
implications, so tread carefully.

Ken

> -----Original Message-----
> From: Liu, Ken (C) 
> Sent: Tuesday, November 11, 2003 3:41 PM
> To: log4j-user@jakarta.apache.org
> Subject: RE: automatic reload
> 
> 
> >          I don't know, perhaps my solution is too simplistic or too 
> > low-tech, but for a webapp, I simply have a URL that I ping 
> > when I change 
> > the log4j config file.  Since the config file doesn't change 
> > automatically, 
> 
> This is the approach I use.  I have a servlet that calls 
> configure().  I
> also have it set up to accept a url parameter, in case I want 
> to reload a
> log4j config file from a url (we developers don't always have 
> access to the
> file system).

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message