I think I've found the problem.
When I set the threshold of the second appender, it seems to override the
threshold of the root appender.
On 26/07/11 16:47 Mike Schilli wrote:
> On Tue, 26 Jul 2011, Robert Rothenberg wrote:
>
>> I've tried changing the threshold for the shared log to INFO
>>
On Fri, 29 Jul 2011, Robert Rothenberg wrote:
> When I set the threshold of the second appender, it seems to override
> the threshold of the root appender.
Not sure what you're referring to here, but if you post your
configuration and explain what you're expecting and what you're getting
instead,
On Tue, 26 Jul 2011, Robert Rothenberg wrote:
> I've tried changing the threshold for the shared log to INFO
> log4perl.appender.SharedLog.Treshold = INFO
If you fix the typo ("Treshold" => "Threshold"), that's exactly the
recommended way to accomplish what you want.
--
-- Mike
Mike Schilli
m.
I have a collection of related tools that write to a shared log, generally
at the INFO or WARNING level.
One of the tools has a separate log that it writes to at a lower level
(DEBUG or TRACE). But I still want higher priority messages to show up in
the shared log.
The problem that I am having i