in reply to log4perl question
Howdy,
At a glance, the code in your conf file looks good. I think you're being bitten by another issue -- basically, whenever Log4perl sends a message off to your newpingdata Logger, it additionally will give that message to every other logger in the heirarchy, including your rootLogger.
The exact problem and solution were discussed in-depth, including examples, in this node on Log4perl. To summarize, you can tell a logger not to send messages up the heirarchy using additivity. You can also tell a given appender not to accept log messages below a certain log level by using threshold. And of course, there are filters and other goodies, but I don't think you need to go that far for your current problem.
So, check out the above node, and also look up those terms in Log4perl's documentation. Good luck!
-Eric
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: log4perl question
by leriksen (Curate) on Sep 18, 2003 at 00:42 UTC | |
|
Re: Re: log4perl question
by chimni (Pilgrim) on Sep 18, 2003 at 07:48 UTC |