1. 11 Mar, 2013 1 commit
    • Andrew Thompson's avatar
      Implement configurable error_logger msg drop threshold · ef691d89
      Andrew Thompson authored
      Implement a new config option error_logger_hwm, which is a number
      representing how many messages per second we should log from the
      error_logger. If that threshold is exceeded, messages will be discarded
      for the remainder of that second.
      
      This is only effective if lager itself can process the messages fast
      enough to satisfy the threshold. If your threshold is 1000 and lager
      itself is only writing 100 messages a second (because error messages are
      causing fsyncs or whatever) you'll never exceed the threshold and drops
      will never happen. Thus care needs to be taken when selecting this
      feature.
      
      Setting it low is not as bad as it might seem, because when using lager,
      hopefully error_logger messages are unusual. In my testing, 50/second
      with the default config seemed reasonable (which has 2 file backends
      installed, both of which fsync on messages at error or above).
      ef691d89
  2. 07 Mar, 2013 4 commits
  3. 02 Mar, 2013 2 commits
  4. 27 Feb, 2013 2 commits
  5. 26 Feb, 2013 3 commits
  6. 22 Feb, 2013 1 commit
  7. 15 Feb, 2013 2 commits
  8. 24 Jan, 2013 1 commit
  9. 22 Dec, 2012 1 commit
  10. 21 Dec, 2012 1 commit
  11. 20 Dec, 2012 3 commits
  12. 14 Dec, 2012 1 commit
  13. 13 Dec, 2012 5 commits
  14. 12 Dec, 2012 7 commits
  15. 11 Dec, 2012 2 commits
  16. 07 Dec, 2012 1 commit
  17. 05 Dec, 2012 1 commit
  18. 04 Dec, 2012 1 commit
  19. 03 Dec, 2012 1 commit