Re: Are globs or regular expressions supported in logger names in config files?

Volkan Yazıcı <[email protected]> Fri, 6 Oct 2023 09:43:07 +0200
Newsgroups gmane.comp.jakarta.log4j.user
Message-ID <CABDM8gDnw3fna5t5d9Ax8+fG2cGaJr_ZA5E7nArsRHJSTVP0-w@mail.gmail.com>
You're right. Then maybe using a `ScriptFilter`?

On Thu, Oct 5, 2023 at 10:43 PM Ralph Goers <[email protected]>
wrote:

>
>
> > On Oct 5, 2023, at 6:47 AM, Volkan Yazıcı <[email protected]> wrote:
> >
> > Wouldn't it be possible to use an arbiter instead? For instance, you can
> > use a `ScriptArbiter` that checks the package name, and if matches,
> passes
> > the log event to your appender,
>
> I don’t see how this accomplishes what was asked. Arbiters are evaluated
> when the configuration is constructed, not when the application is running.
>
> Ralph
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>