Andrew Thompson
|
5394a7d3fd
|
Add lager.hrl
|
14 years ago |
Andrew Thompson
|
26da2dce2d
|
Merge branch 'adt-trunc-io-format'
Conflicts:
src/lager_crash_log.erl
|
14 years ago |
Andrew Thompson
|
c48c625894
|
Minor changes requested
|
14 years ago |
Andrew Thompson
|
338ca9cf15
|
Adjust the supervisor restart thresholds to 10 restarts in 1 minute
|
14 years ago |
Andrew Thompson
|
dae643f8dd
|
Make the size of messages in the crash log configurable
|
14 years ago |
Andrew Thompson
|
d230cbaa02
|
More fixes found by QC and some QC improvements
|
14 years ago |
Andrew Thompson
|
71fae1b89a
|
Truncator for funs; special case binary truncation when max is 0
|
14 years ago |
Jon Meredith
|
1f9ebb9e1e
|
Added a FudgeLen to bound how far over it can go.
trunc_io:format checks the length after formatting funs/bignums etc
so it can go over.
|
14 years ago |
Andrew Thompson
|
886d410eb9
|
Make highest log level be 0; add some helper macros
|
14 years ago |
Jon Meredith
|
c7ad3f80d5
|
Added basic eqc test for trunc_io:format with maxlen.
|
14 years ago |
Andrew Thompson
|
f3b9fbd0fb
|
Take the size of the format string into account when printing
|
14 years ago |
Andrew Thompson
|
37f190f037
|
Try to give more equal allocations to large terms
|
14 years ago |
Andrew Thompson
|
01dc584838
|
Add truc_io:format and use it in the crash logger
|
14 years ago |
Andrew Thompson
|
3a8fe3bd49
|
Typo in .app.src file
|
14 years ago |
Andrew Thompson
|
f11e114c94
|
Don't leak file handles on rotation
|
14 years ago |
Andrew Thompson
|
29494de8a1
|
Fix mistakes in error formatting
|
14 years ago |
Andrew Thompson
|
cddb2383b6
|
Don't deadlock on file handler init error
|
14 years ago |
Andrew Thompson
|
61ae86f04f
|
Minor documentation tweaks
|
14 years ago |
Andrew Thompson
|
7e68976e1b
|
Try to improve M:F(A) printing a little
|
14 years ago |
Andrew Thompson
|
862a9cb46c
|
Documentation!
|
14 years ago |
Andrew Thompson
|
3c7eb575d3
|
Don't start the crash logger if its not configured
|
14 years ago |
Andrew Thompson
|
037e742361
|
Add default env vars to the .app.src file
|
14 years ago |
Andrew Thompson
|
ae4f678406
|
Don't wrap the level argument in a list for no reason
|
14 years ago |
Andrew Thompson
|
bc0453352b
|
Handle out of space errors for crash.log too
|
14 years ago |
Andrew Thompson
|
b72db977ba
|
Graceful handling of when there's no more disk space
|
14 years ago |
Andrew Thompson
|
f282fbf372
|
Reinstall any error_logger handlers on application shutdown
|
14 years ago |
Andrew Thompson
|
a6cbc19712
|
Rework supervisor tree to be more sane
|
14 years ago |
Andrew Thompson
|
fed110379e
|
Add a crash.log logger, based on riak_err, that logs error reports in more detail
|
14 years ago |
Andrew Thompson
|
0859c90b06
|
Default the error_logger redirect to be on, log to the 'log' dir
|
14 years ago |
Andrew Thompson
|
2128752ae5
|
Make sure we build lager_util before the parse transform
|
14 years ago |
Andrew Thompson
|
f8afb3d8b1
|
Tests for emfile and system_limit formatting
|
14 years ago |
Andrew Thompson
|
5bc97a9096
|
Forgot to add trunc_io
|
14 years ago |
Andrew Thompson
|
a6325a7831
|
Add formatting for emfile and for various system limits
|
14 years ago |
Andrew Thompson
|
e9abf79aac
|
Handle 'single term' error_logger reports
|
14 years ago |
Andrew Thompson
|
af2f2200f8
|
Log unexpected error_logger messages to lager
|
14 years ago |
Andrew Thompson
|
5b9a4c6161
|
Support warning messages, put commas between terms in report messages
|
14 years ago |
Andrew Thompson
|
10153cff92
|
Optimize list construction, somewhat
|
14 years ago |
Andrew Thompson
|
9d48baee24
|
More README
|
14 years ago |
Andrew Thompson
|
a1fe3f4496
|
Remove riak_err as a dep; fix some warnings
|
14 years ago |
Andrew Thompson
|
399e43f8f4
|
Check threshold when generating messages from error_logger
|
14 years ago |
Andrew Thompson
|
1f3493df12
|
Restart error_logger handler if it exits, cleanups
|
14 years ago |
Andrew Thompson
|
6916a66d0f
|
Added badfun support, and tests for progress reports
|
14 years ago |
Andrew Thompson
|
83ed81eca5
|
Tests for error_logger:error_msg and friends
|
14 years ago |
Andrew Thompson
|
7696cc937d
|
More tests
|
14 years ago |
Andrew Thompson
|
bfe72cb17d
|
Add some tests to test logging crashes
|
14 years ago |
Andrew Thompson
|
245e9c50e3
|
Add a module that we can crash on-demand from eunit
|
14 years ago |
Andrew Thompson
|
900aaca142
|
Formatters for a bunch more common exceptions
|
14 years ago |
Andrew Thompson
|
b7a56487e5
|
A bunch more work on the error_logger interop
|
14 years ago |
Andrew Thompson
|
04792f1b8a
|
Initial version of error_logger->lager translator
|
14 years ago |
Andrew Thompson
|
279fef80b4
|
Cleanup test module a little
|
14 years ago |