>I need to reload logging configuration from file at runtime.
>(I cannot use configureAndWatch())
>What's the correct method?
>Calling again  PropertyConfigurator.configure(...) nothing happens.

Is it possible that you've set levels using setLevel, but in the config file they're 
just inherited from their parent logger's level?

Does PropertyConfigurator.configure() reset all the levels to null? My guess would be 
that it doesn't, as you're supposed to be able to use it to add extra config without 
necessarily wiping out what's currently configured.

One of the changes I made to the ConfigurationServlet was to add the ability to reset 
the level to NULL so that it inherits from its parent again. You might need to find 
some way to do this for all your loggers.

Cheers,
Stephen




--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



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

Reply via email to