[ANNOUNCE] Apache Log4j Kotlin API 1.3.0 released

2023-10-06 Thread Volkan Yazıcı
Apache Log4j Kotlin API team is pleased to announce the 1.3.0
release. This project contains a Kotlin-friendly interface to log
against the Log4j API. For further information (support, download,
etc.) see the project website[1].

[1] https://logging.apache.org/log4j/kotlin

=== Release Notes

This minor release bumps the Kotlin baseline to 1.6.21 and contains
various small improvements.

 Added

* Added an extension property for storing a cached logger (#29)
* Added facade APIs for manipulating the context map and stack (#30)
* Added missing `catching` and `throwing` API methods in `KotlinLogger`  (#32)
* Added JPMS support and used `org.apache.logging.log4j.api.kotlin`
for the module name

 Changed

* Updated Log4j dependency to `2.20.0`
* Bumped `logging-parent` version to `10.1.1` and overhauled the
entire project infrastructure to take advantage of its goodies (#37)
* Renamed OSGi `Bundle-SymbolicName` from
`org.apache.logging.log4j.kotlin` to
`org.apache.logging.log4j.api.kotlin`
* Migrated tests to JUnit 5
* Bumped Kotlin and Kotlin Extensions baseline to `1.6.21` and `1.6.4`
respectively
* Skipped deploying `log4j-api-kotlin-benchmark` and
`log4j-api-kotlin-sample` modules

 Removed

* Stopped exporting KDoc to HTML

-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org



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

2023-10-06 Thread Volkan Yazıcı
You're right. Then maybe using a `ScriptFilter`?

On Thu, Oct 5, 2023 at 10:43 PM Ralph Goers 
wrote:

>
>
> > On Oct 5, 2023, at 6:47 AM, Volkan Yazıcı  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: log4j-user-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-user-h...@logging.apache.org
>
>