~/talk

A Deep Look at Logging

Talkat EuroPython 2015 · 2015-07-20..07-26· [observability]
slides:none on file

Shows how to use the Python standard logging module to get structured, configurable logs with minimal boilerplate — examples include stream/file/rotating/file/socket handlers, formatters, and config-file reloads. Demonstrates turning log records into structured JSON logs, adding context via filters, and inspecting logger hierarchies with a logging tree visualizer. Covers data‑protection concerns, performance costs (milliseconds detail and formatter overhead), baseConfig pitfalls, and working code plus notebooks that actually run.

AI-written summary · about

  1. 0:00Introduction to logging
  2. 0:53Print vs logging module
  3. 3:54Benefits of structured logs
  4. 6:43Basic logging implementation
  5. 8:46Logging infrastructure
  6. 12:14Log configuration methods
  7. 15:46Advanced configuration
  8. 18:57Logging hierarchy and tools
  9. 24:00Conclusion
~/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.