~/talk

Integrating SLF4J and the new OSGi LogService 1.4

Talkat EclipseCon Europe 2018 · 2018-10-23..10-25· [java]
slides:none on file

OSGi LogService 1.4 replaces the old API with a modern logger/LoggerFactory model, adds levels including audit log level, a formatter logger alternative, and dynamic configuration via a LoggerAdmin tied to Configuration Admin. Consumption supports the legacy LogReader or the new push stream provider. Two practical integration patterns are shown: a static SLF4J-to-OSGi binder that maps SLF4J loggers into OSGi log entries, and an OSGi-to-Logback listener that forwards OSGi entries into Logback; demos run on Equinox (with buffered history) and work end-to-end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:20Logging
  3. 3:50New types
  4. 7:04OSGi logger
  5. 8:02Log levels
  6. 8:39Logging in OSGi
  7. 10:46OSGi LogService
  8. 11:55Configuration Admin
  9. 15:24Log Stream Provider
  10. 19:35Declarative Services Integration
  11. 21:45OSGi Bundle
  12. 22:18What do I do now
  13. 23:16Two basic strategies
  14. 24:08First project
  15. 30:51Notes
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.