Skip to content

Flogger 0.7.1

Compare
Choose a tag to compare
@cgdecker cgdecker released this 27 Sep 22:34
· 59 commits to master since this release

Significant change

Changed DefaultPlatform to attempt to load services (currently BackendFactory, ContextDataProvider and Clock) from the classpath if not specified by system property. The log4j, log4j2 and slf4j backend artifacts can now be loaded automatically in this way, as can the gRPC ContextDataProvider artifact. Third party service implementations can also work with this system by ensuring their artifact includes service metadata for the appropriate classes in the jar, such as annotating the implementation classes using AutoService. (1fea2f3)

Other changes

  • Added more useful methods to the ScopedLoggingContexts helper API. (de2f5a3)
  • Tags given at the log site can be merged with injected tags. (6e97e9e)
  • The log4j2 backend now supports ScopedLoggingContext. (d3e4a98)
  • Updated SLF4J backend to include context metadata. (9d7d2c6)
  • Include context metadata for log4j2. (8846b42)
  • Made StackBasedLogSite non-public (use LogSites.logSiteFrom() instead). (7373a43)
  • Added per() methods to allow for aggregation of rate limited log statements. (69c7480)
  • Fixed an issue with log4j2 backend where output would include unnecessary info such as level as part of the logger name. (4279348)