Skip to content

observer.console.logFilenameForPackages

Compare
Choose a tag to compare
@jhannes jhannes released this 04 May 21:41
· 109 commits to main since this release

ConsoleLogEventFormatter has a new configuration to determine which packages you would like to have logged as filenames. This was the standard behavior for all classes before.

Logging with file names instead of logger name lets IntelliJ and Eclipse create clickable links from the filename in the log messages. But this only makes sense for your own source code.

By default, logFilenameForPackages is set to the package of your main class.

Additional:

  • LogEventStatus logs configuration of updates to loggers' observers and filters at level debug