~/talk

Getting things logged

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [observability, devops-and-delivery]
slides:none on file

A compact logging framework for R that records levelled messages, captures warnings and errors automatically, and ships to console, file, database or Slack; formatters support glue and a JSON layout for downstream analysis. Message filtering costs about 20 microseconds per call so dense instrumentation is cheap. Appenders can run asynchronously via appender_async, using a local queue and background worker so logging no longer blocks long jobs; fork safety and helpers for DBI, Shiny and S3 access are built in.

AI-written summary · about

  1. 0:00Intro
  2. 1:30WHAT IS "PRODUCTION"?
  3. 4:16MOTIVATION
  4. 5:13POOR MAN'S PROGRESS BAR
  5. 5:46LOGGING PROGRESS TO FILE
  6. 6:20LOGGING PACKAGES ON CRAN
  7. 6:59LOGGER: A LIGHTWEIGHT, MODERN AND FLEXIBLE LOGGING UTILITY FOR R
  8. 7:41LOGGER: A COLLECTIONG OF HELPER FUNCTIONS FOR LOGGING
  9. 8:30LOGGER: READY FOR PRODUCTION cat demo.
  10. 9:15COLORIZED OUTPUT
  11. 9:31THE ANATOMY OF A LOG REQUEST
  12. 11:31LOG LEVELS
  13. 11:43LOG MESSAGE FORMATTERS
  14. 13:15ASYNC LOG RECORD DESTINATIONS: WHY?
  15. 14:19ASYNC LOG RECORD DESTINATIONS: SETUP Optionally log what's happening in the background
  16. 14:36ASYNC LOG RECORD DESTINATIONS: USAGE
  17. 15:44HELPER FUNCTIONS: TIC-TOC LOGGING
  18. 16:11HELPER FUNCTIONS: SHINY APPS
  19. 16:47USING LOGGER IN R PACKAGES
  20. 18:27USING LOGGER IN DBR
~/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.