- 11 Mar, 2013 1 commit
-
-
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).
-
- 07 Mar, 2013 4 commits
-
-
Andrew Thompson authored
Don't assume the supervisor is a registered process.
-
Marc Worrell authored
Replaced another use of element(2,Pid). Added some tests with somepid instead {local,name} as supervisor reference
-
Marc Worrell authored
-
Marc Worrell authored
-
- 02 Mar, 2013 2 commits
-
-
Andrew Thompson authored
Improve lager_console_backend to support non-atom output log levels.
-
Ewan Mellor authored
This supports forms such as "!notice" for configuring the output log level (using the config handling changes from 7aa31690).
-
- 27 Feb, 2013 2 commits
-
-
Andrew Thompson authored
Lager doesn't print iolists with ~s right
-
Andrew Thompson authored
-
- 26 Feb, 2013 3 commits
-
-
Andrew Thompson authored
Parse transform can't handle `Attr' as a variable
-
Andrew Thompson authored
-
Andrew Thompson authored
Empty registered processes section in lager.app.src.
-
- 22 Feb, 2013 1 commit
-
-
Andrew Thompson authored
-
- 15 Feb, 2013 2 commits
-
-
Andrew Thompson authored
-
Andrew Thompson authored
As long as *one* of the arguments is a literal, lager can figure out what you're trying to do and (re)arrange the arguments as necessary.
-
- 24 Jan, 2013 1 commit
-
-
Andrew Thompson authored
-
- 22 Dec, 2012 1 commit
-
-
Andrew Thompson authored
Tracing without using parse transform.
-
- 21 Dec, 2012 1 commit
-
-
Andrew Thompson authored
-
- 20 Dec, 2012 3 commits
-
-
Andrew Thompson authored
-
Andrew Thompson authored
-
Andrew Thompson authored
-
- 14 Dec, 2012 1 commit
-
-
Andrew Thompson authored
add whitelist of error_logger handlers not to delete when error_logger_r...
-
- 13 Dec, 2012 5 commits
-
-
Tristan Sloughter authored
-
Andrew Thompson authored
-
Andrew Thompson authored
-
Andrew Thompson authored
-
Andrew Thompson authored
-
- 12 Dec, 2012 7 commits
-
-
Andrew Thompson authored
This helps systools detect registered name clashes
-
Andrew Thompson authored
-
Andrew Thompson authored
Support pretty printing records found in a module at compile time
-
Andrew Thompson authored
-
Andrew Thompson authored
Support backend modules defining their own gen_event handler ID
-
Andrew Thompson authored
Reject invalid format strings more aggressively
-
Andrew Thompson authored
-
- 11 Dec, 2012 2 commits
-
-
Andrew Thompson authored
-
Andrew Thompson authored
-
- 07 Dec, 2012 1 commit
-
-
Andrew Thompson authored
-
- 05 Dec, 2012 1 commit
-
-
Andrew Thompson authored
-
- 04 Dec, 2012 1 commit
-
-
Andrew Thompson authored
-
- 03 Dec, 2012 1 commit
-
-
Andrew Thompson authored
BUGFIX: Avoid overloading the LOG macro.
-