It would be the same as doing the "ConfigureAndWatch" where log4j rereads
changes in config files (i have not used it this way, but it seems klunky)
I'd rather have an object in memory (singleton like) where i could just
say now log this package on DEBUG or switch it to this Appender.  It seems
it might be able to be done using JMX (in log4j 1.2) but at the bottom of
the javadoc it says "This package lets you manage log4j settings using
JMX. It is unfortunately not of production quality."  - not sure what that
means :(

I desire a programatic means of changing the properties on the fly without
parsing a config file and waiting for a reload (unknown amount of time)

does this seam reasonable?

-jason

On Fri, 3 May 2002, Mark Womack wrote:

> Jason,
> 
> Can you give a specific example of how this would work?  You can do just
> about everything in code that you can from the configuration file, so what
> is it you are looking for?  You want something that will write out the
> current settings to a file?
> 
> -Mark
> 
> > -----Original Message-----
> > From: Jason Poley [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 03, 2002 6:02 PM
> > To: [EMAIL PROTECTED]
> > Subject: Memory based config
> > 
> > 
> > I have a question  regarding the log4j properties file.  Is there any
> > current way (or plans to) have a means of storing the config 
> > settings in
> > memory and editing them on the fly (instead of having to edit the
> > properties file and wait for a reload?)
> > 
> > This is functionality that I would like to use, and was 
> > wondering if there
> > was anyone else who would need/want this.
> > 
> > -jason
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: 
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to