From: Kevin G. <ke...@go...> - 2002-11-30 00:14:46
|
I finally got a few minutes to think about log4perl today, and was looking at my TODO list in the changes file: * Bug: If the *same* appender is being attached to several loggers, appender inheritance doesn't work as expected: Even if the appender appears twice in the inheritance tree, it's only executed once. But it actually needs to be run twice to match log4j. For our behavior (attached perl) to match the log4j behavior (attached java) on the (attached config), I would have to make the change (attached diff). The only unit tests it messes with is 012Deeper.t, which is where it would be expected. So this would change the behavior of our libraries, in that if you have an appender attached to plant and also to plant.tree.leaf, a log message to plant.tree.leaf or below will fire the appender twice, currently it only does it once (I believe that behavior seemed more appropriate at the time). Any comments before I make the change to bring us into conformity with log4j? -- Happy Trails. . . Kevin M. Goess (and Anne and Frank) 904 Carmel Ave. Albany, CA 94706 (510)525-5217 |