Skip to content
Snippets Groups Projects
  1. Aug 11, 2020
    • Erik Johnston's avatar
      Move setting of Filter into code. · 0304ad0c
      Erik Johnston authored
      We do this to prevent foot guns. The default config uses a MemoryFilter,
      but users are free to change to logging to files directly. If they do
      then they have to ensure to set the `filters: [context]` on the right
      handler, otherwise records get written with the wrong context.
      
      Instead we move the logic to happen when we generate a record, which is
      when we *log* rather than *handle*.
      
      (It's possible to add filters to loggers in the config, however they
      don't apply to descendant loggers and so they have to be manually set on
      *every* logger used in the code base)
      0304ad0c
  2. Oct 18, 2019
  3. Jul 12, 2019
  4. Jul 03, 2019
  5. Jun 25, 2019
  6. Aug 02, 2018
  7. May 01, 2018
  8. Feb 10, 2018
  9. Feb 03, 2018
Loading