That worked. The simpler solution was right under my eyes, but I got lost in a rabbit hole. Thanks!
Ron Grabowski <[EMAIL PROTECTED]> wrote:
What happens when you use the additivity="false" attribute on your
logger:additivity="false">
--- [EMAIL PROTECTED] wrote:
> Hi,
>
> We are developing a project in which we are using log4net. We are
> trying to split the log up into different files, one for different
> sections of the code. So in our web.config file we have a "root"
> section that points to one rollingFileAppender and another "logger"
> section that points to a different appender. The second logger only
> logs items that come from a specific namespace, e.g.
> "company.project.mysection"
>
> Problem is, the "root" file appender logs everything, including the
> stuff that is logged by the other logger. How do I exclude things
> coming from "company.project.mysection" from the root logger? The
> documentation says use "LoggerMatchFilter" but that doesn't work.
>
> Thanks!
>
>
