You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Arunkumar <av...@appsecinc.com> on 2006/06/08 17:43:30 UTC
Refresh time and Logger shutdown
Hi Curt,
Couple of questions:
1) In ConfigureAndWatch(...) we specify the time interval that the logger
uses to refresh its configuration. Can I specify this interval in the
configuration xml file so that it can dynamically alter the interval?
2) Lets say I create 20 named logger instances in different sections of the
code. Coming from a C++ mindset, if we create an object we have to clean up
after it. So how do I clean up the 20 named logger instances I created?
Thanks
Arun
RE: Refresh time and Logger shutdown
Posted by Arunkumar <av...@appsecinc.com>.
Hi guys,
I had some questions which I had posted previously and I am posting them
again.
1) In the ConfigureAndWatch(...) function we specify the time interval that
the logger uses to refresh its configuration. Can I specify this interval in
the xml configuration file so that the refresh rate changes dynamically?
2) Lets say I create 20 named logger instances in different sections of the
code. Coming from a C++ mindset, if we create an object we have to clean up
after it. So how do I clean up the 20 named logger instances I created or
does log4cxx take care of the clean up operation. (The LogManager::shutdown
function virtually shuts everything down. For example sending data to the
console using std::cout stopped working after calling it).
Thanks
Arun