From: Mike S. <m...@pe...> - 2004-09-01 17:31:05
|
Christopher J. Bottaro wrote on 9/1/2004, 10:10 AM: > the problem is that when the module is unloaded, the > logger is still there and after several loadings/unloadings, there are > going to be many left over loggers and appenders sitting around in memory. Loggers are singletons, get_logger($cat) just creates a logger for the given category once and returns a reference to it on subsequent calls. Unless you're requesting a logger for a different category every time, this shouldn't cause any problems -- or is there anything unusual going on when you 'unload' the module? -- -- Mike Mike Schilli m...@pe... |