Andrew Thompson
244463e954
logger_std_h supports file rotation better than disk_log, so use that
5 years ago
Andrew Thompson
67466436aa
Rework logger configuration and add logger config generator
5 years ago
Andrew Thompson
c62732dab3
WIP function to turn lager config into logger config
5 years ago
Andrew Thompson
0dff911051
Add some docs
5 years ago
Andrew Thompson
0803df0620
How the heck did this slip in?
5 years ago
Andrew Thompson
3c275e4399
Use better function
6 years ago
Andrew Thompson
3d38191cee
Fix
6 years ago
Andrew Thompson
225990798f
Fix
6 years ago
Andrew Thompson
60f6b38842
Typo
6 years ago
Andrew Thompson
566d0f386b
Fix
6 years ago
Andrew Thompson
7af01ccab7
Try to supress log messages better
6 years ago
Andrew Thompson
ce11e41ea9
Use report_cb from config or from metadata
6 years ago
Andrew Thompson
7b8d2c5424
More fighting with report_cb
6 years ago
Andrew Thompson
5667c95ba0
Try to switch to using a report_cb
6 years ago
Andrew Thompson
0e07296df7
Add application stops
6 years ago
Andrew Thompson
24651deb76
Use the right key names
6 years ago
Andrew Thompson
0ba40a2d40
Add application start
6 years ago
Andrew Thompson
7e247dc761
Typo:
6 years ago
Andrew Thompson
8ac924b748
Debugging
6 years ago
Andrew Thompson
9ed7ee8f69
Add supervisor error reports
6 years ago
Andrew Thompson
4f8d24513d
Feh
6 years ago
Andrew Thompson
9b8ee2342c
Honor supervisor message suppression config
6 years ago
Andrew Thompson
c793c030d0
Tweak
6 years ago
Andrew Thompson
0176941b90
Fallback for unhandled reports
6 years ago
Andrew Thompson
8a2cf8d5a8
Add some formatters for the standard OTP reports
6 years ago
Andrew Thompson
e53ecb0fe5
Typo
6 years ago
Andrew Thompson
0970513d2d
Clear colors at end of line
6 years ago
Andrew Thompson
62d95d24f7
Add a module to convert logger formatters to lager formatters
6 years ago
Andrew Thompson
ad25bf8311
Add an env var to stop lager actually booting
6 years ago
Andrew Thompson
a68e456aa2
Backwards
6 years ago
Andrew Thompson
7aaad5ca15
Handle log messages with no format arguments
6 years ago
Andrew Thompson
f1c7e3ad11
Couple fixes
6 years ago
Andrew Thompson
e1c4ed1139
Add a `lager_use_logger` parse transform to rewrite lager calls to logger
6 years ago
Mark Allen
1c0ab772df
Roll 3.6.8
6 years ago
Mark Allen
85f185f982
Merge pull request #489 from erlang-lager/gh363
Document error_logger_whitelist and other updates
6 years ago
Mark Allen
8c08e9dc2b
Document error_logger_whitelist and other updates
Closes #363
6 years ago
Mark Allen
c215a29c15
Merge pull request #488 from erlang-lager/gh481
Maybe remove OTP 21 logger default handler
6 years ago
Mark Allen
9f8d7a705e
Maybe remove OTP 21 logger default handler
Closes #481
6 years ago
Mark Allen
411edc71ee
Merge pull request #486 from Ledest/master
Remove check for erlang:is_map/1
6 years ago
Led
1062fdd786
.gitignore: add .rebar
6 years ago
Led
9b3df0b51f
lager_trunc_io: clean up unneeded check for erlang:is_map/1
6 years ago
Mark Allen
ecb78c54cf
Merge pull request #485 from velimir0xff/cowboy-stream-process-error
Handle errors generated by cowboy which were treated as ranch errors
6 years ago
Grigory Starinkin
5cbc1260fc
Handle errors generated by cowboy which were treated as ranch errors
c998673eb0/src/cowboy_stream_h.erl (L153-L157)
6 years ago
Andrew Thompson
69b4ada234
Roll 3.6.7
6 years ago
Mark Allen
16780a62ff
Merge pull request #480 from erlang-lager/adt/better-sys-trace
Improve debug tracing support
6 years ago
Mark Allen
6a7647df19
Merge pull request #479 from erlang-lager/fix_error_lager_test
Check for the right number of dropped messages
6 years ago
Andrew Thompson
f94412dc98
Improve debug tracing support
By an unhappy accident, OTP21 added functionality for 'named' trace
functions. This has a pattern match that matches the old trace function
(a 2 tuple where the second element is itself a 2 tuple):
https://github.com/erlang/otp/pull/1781
This patch changes to using a versioned record (so we can extend the
tracing later if needed) and adds 3 more options to tracing; count,
timeout and format string.
Additionally, tracing an OTP process via start_link arguments is now
documented.
6 years ago
Mark Allen
afdb8ed2f8
Check for the right number of dropped messages
Was 16, is now 15 after we merged #475
6 years ago
Mark Allen
37b7facc41
Roll 3.6.6
6 years ago
Mark Allen
3d61650ae2
Merge pull request #475 from russagit/master
Fix check_hwm
6 years ago