~/talk

Mastering Logging in Java

Talkat Devnexus 2025 · 2025-03-04..03-06· [java]
speakerdeck:boyarsky
links:none on file
slides:none on file

Comparisons show java.util.logging, Log4j, SLF4J and Logback in use, with Log4j requiring Log4j >= 2.17.2 after four 2021 CVEs; SLF4J provides an API facade, Logback implements that API. Practical recipes cover class-named loggers, lazy lambdas, async writers, rolling files (1 MB for tests, 10–50 MB or 2 GB in examples), and format/layout choices. Distributed setups use ELK (Elasticsearch, Logstash, Kibana), Splunk or Loki. Tracing uses micrometer tracing adds trace IDs (plus actuator) to correlate multi‑service logs.

AI-written summary · about

  1. 0:00Introduction to logging
  2. 1:06Why use logging frameworks
  3. 11:21Java util logging overview
  4. 15:30Log4j framework deep dive
  5. 22:37SLF4J and Logback explained
  6. 26:50Log4j3 preview and updates
  7. 31:01Distributed logging platforms
  8. 36:20Micrometer tracing integration
  9. 40:41AI for log analysis
  10. 45:15Q&A session
~/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.