~/talk

Erlang logging for the 21st OTP

Talkat Code BEAM SF 2019 · 2019-02-28..03-01· [elixir-and-erlang]
slides:none on file

Compares lager to the new OTP 21 logger, showing OTP logger adds structured reports, per-event metadata, filters and multiple formatters but ships with unsafe defaults and can spike memory (tests show a console/file run hitting ~900 MB spikes on large messages). Benchmarks use log_bench and a cascading-fail test with message sizes 5 B, 56 B, 96 KB, 4 MB, 16 MB; a hybrid (logger formatter + OTP pipeline) outperforms defaults and lager plans a migration tool and parse-transform-based rewrite to map old APIs to the OTP logger.

AI-written summary · about

  1. 0:00Introduction
  2. 0:14The importance of logs
  3. 1:51Why am I up here
  4. 2:53What is the problem with errorlog
  5. 4:58What was the whole
  6. 7:43Mistakes
  7. 10:11New Logger
  8. 11:33Thank you Eric
  9. 11:55OTP logger
  10. 14:10Chicken scroll
  11. 16:44Structured logging
  12. 17:47GenServer crashing
  13. 18:37Filters
  14. 20:26Backwards compatibility
  15. 21:53Whats next
  16. 22:40Logger 40 announcement
  17. 23:55Logger cheat sheet
  18. 25:15Why not keep it alive
  19. 25:59Community involvement
  20. 28:26Benchmarking
  21. 28:39Cascading failures
  22. 29:42Error logger
  23. 30:02Logger 40 alpha
  24. 31:10Logger 20 max
  25. 31:32Logger 20 console
  26. 32:03Formatter
  27. 32:16Benchmark
  28. 35:11Large messages
  29. 35:45Big messages
  30. 36:58Memory usage
  31. 37:14File memory usage
  32. 37:35Message sizes
  33. 39:20Wrapup
  34. 40:30Takeaway
  35. 40:54Questions
~/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.