From: William M. <wi...@kn...> - 2003-09-24 22:40:15
|
Hi, I'm new to Log4perl but am looking forward to using such a well architected logging environment! I am in the process of inserting logging statements into an application that I run in mod_perl. During development, I use Apache::Reload to reload any modules which get updated. This technique appears to be causing my logger->info() statements to be reprocessed which is resulting in multiple messages being sent to my log file (one more for each time the module is reloaded). Since I go through many iterations of a module during development, this can quickly become a nuisance. I checked the archives of the list but could not find any similar discussions. Does anyone else use Log4perl in such an environment? Is this the expected behavior? Is there any way I can convince Log4perl not to continue appending messages when a module is reloaded? Thanks! William -- Knowmad Services Inc. http://www.knowmad.com |