Mark Allen
f875d4346d
Merge pull request #510 from lukebakken/lrb-unicode-string-formatting
Add t to string formatting to accept unicode file and dir names
пре 5 година
Luke Bakken
c88d5d5666
Add tests that show ~t format modifier is necessary for unicode file paths
пре 5 година
Luke Bakken
f47a8be9a6
Add t to string formatting to accept unicode file and dir names
пре 5 година
Mark Allen
27a075b0c4
Roll 3.7.0
пре 6 година
Mark Allen
afad7bb3c3
Merge pull request #503 from vikger/master
Prepare for Erlang/OTP 22
пре 6 година
Viktor Gergely
d85621d8ae
Prepare for Erlang/OTP 22
пре 6 година
Viktor Gergely
0fbda11b68
Prepare for Erlang/OTP 22
пре 6 година
Mark Allen
517472b351
Merge pull request #501 from vikger/dialyzer500
Fix dialyzer errors
пре 6 година
Viktor Gergely
a48a90bca4
Fix dialyzer errors
пре 6 година
Mark Allen
4ffdf0dbef
Roll 3.6.10
пре 6 година
Mark Allen
b89d362f24
Merge pull request #499 from lukebakken/lrb-496_dont_count_filtered_logs_in_hwm
Fix for incorrectly counting dropped messages
пре 6 година
Luke Bakken
7549c85416
Fix test
Retry strategy for flaky tests
пре 6 година
Lajos Gerecs
4680b7f8eb
Fix for incorrectly counting dropped messages
Lager changes the error level of supervisor progress messages from
info to debug. This is done after the hwm checking changes the received
message count. This PR implements a fix by removing one from the count
if no message was sent.
Closes : #496
пре 6 година
Mark Allen
94f4cd5d4a
Merge pull request #494 from rgl/master
fix the pr_stacktrace invocation example
пре 6 година
Rui Lopes
427c60726b
fix the pr_stacktrace invocation example
пре 6 година
Andrew Thompson
b19a180dc1
Roll 3.6.9
пре 6 година
Mark Allen
a1ac676949
Merge pull request #493 from lukebakken/lrb-windows-rotation
Fix rotation on Windows
пре 6 година
Luke Bakken
3a4085d719
Fix log rotation on Windows / non-Unix OSes
Windows requires that file handles be closed prior to renaming files. In
addition, the inode on non-Unix OSes is always zero. This PR closes the
log files prior to rotation (instead of after) and ensures the case
where the file descriptor is `undefined` is handled.
пре 6 година
Mark Allen
1c0ab772df
Roll 3.6.8
пре 6 година
Mark Allen
85f185f982
Merge pull request #489 from erlang-lager/gh363
Document error_logger_whitelist and other updates
пре 6 година
Mark Allen
8c08e9dc2b
Document error_logger_whitelist and other updates
Closes #363
пре 6 година
Mark Allen
c215a29c15
Merge pull request #488 from erlang-lager/gh481
Maybe remove OTP 21 logger default handler
пре 6 година
Mark Allen
9f8d7a705e
Maybe remove OTP 21 logger default handler
Closes #481
пре 6 година
Mark Allen
411edc71ee
Merge pull request #486 from Ledest/master
Remove check for erlang:is_map/1
пре 6 година
Led
1062fdd786
.gitignore: add .rebar
пре 6 година
Led
9b3df0b51f
lager_trunc_io: clean up unneeded check for erlang:is_map/1
пре 6 година
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 година
Grigory Starinkin
5cbc1260fc
Handle errors generated by cowboy which were treated as ranch errors
c998673eb0/src/cowboy_stream_h.erl (L153-L157)
пре 6 година
Andrew Thompson
69b4ada234
Roll 3.6.7
пре 6 година
Mark Allen
16780a62ff
Merge pull request #480 from erlang-lager/adt/better-sys-trace
Improve debug tracing support
пре 6 година
Mark Allen
6a7647df19
Merge pull request #479 from erlang-lager/fix_error_lager_test
Check for the right number of dropped messages
пре 6 година
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 година
Mark Allen
afdb8ed2f8
Check for the right number of dropped messages
Was 16, is now 15 after we merged #475
пре 6 година
Mark Allen
37b7facc41
Roll 3.6.6
пре 6 година
Mark Allen
3d61650ae2
Merge pull request #475 from russagit/master
Fix check_hwm
пре 6 година
Mark Allen
17202185c9
Merge branch 'getong-variable_fix'
пре 6 година
Mark Allen
24a709922f
Merge branch 'variable_fix' of https://github.com/getong/lager into getong-variable_fix
пре 6 година
getong
2fc5ccf6cb
use the variable already exist
пре 6 година
Mark Allen
58016458b7
Merge pull request #478 from travelping/fix/improper_lists
replace list comprehension with recursive invokation in pr/2
пре 6 година
Andreas Schultz
ca40952066
replace list comprehension with recursive invokation in pr/2
The list comprehension fail on improper lists, use a recursive
call into pr/2 instead.
Fixes #477 .
пре 6 година
Rustam Safargalin
370c909ce2
Fix check_hwm
During further testing found one more bug in check_hwm
This fix is an addition to https://github.com/erlang-lager/lager/pull/467
пре 6 година
Andrew Thompson
1249ede5be
Roll 3.6.5
пре 6 година
Andrew Thompson
988e3f2eaf
Merge pull request #473 from erlang-lager/adt/weird-statem-crash
Handle strange crash report from gen_statem
пре 6 година
Andrew Thompson
81b5c61bd0
Enhancements to previous commit: cleanup fd and always keep rotating
пре 6 година
Andrew Thompson
8d7eecda49
Truncate 'base' log file on rotation
Prior to this change, lager would simply rename all the files and leave
the 'base' filename empty until a log event came into create it. This
caused confusion with users and tooling.
The fix, as suggested by Shamis Shukoor, is to not delete/rename the
base file, but simply try to open it in write only mode. This will
create the file if it does not exist and truncate it if it does.
Co-authored-by: Shamis Shukoor <shamis657@gmail.com>
пре 6 година
Mark Allen
7ac1511381
Merge pull request #467 from russagit/master
Prevent silent dropping of messages when hwm is exceeded
пре 6 година
Andrew Thompson
9bfc9bd20f
Handle strange crash report from gen_statem
пре 6 година
Andrew Thompson
8d5751b82c
Merge pull request #472 from shamis/is_loggable_atom
is_loggble - support for severity as atom
пре 6 година
Rustam Safargalin
04a2471657
Add tests for prevent silent dropping
пре 6 година
Rustam Safargalin
9f9b5a3807
Fix lasttime setting
пре 6 година