Luke Bakken
e2e748f86f
Ensure that all calls to rotate a log file are preceded by closing the FDs associated with it
há 5 anos
Luke Bakken
4ed9b558ac
Remove TODO and add a second file:close due to delayed write
há 5 anos
Luke Bakken
0979fd7079
Skip one test that will fail on win32
há 5 anos
Luke Bakken
d25eee4ac6
Skip more tests that will fail on win32
há 5 anos
Luke Bakken
9f5fcf81a8
Skip two tests that will fail on win32
há 5 anos
Luke Bakken
0d75a9ce77
Tweak appveyor
há 5 anos
Luke Bakken
fe1ec6812c
Do not install Erlang, instead use what is on appveyor
há 5 anos
Luke Bakken
d6f15556e7
Caching Erlang does not work
há 5 anos
Luke Bakken
003a50fd31
Check rval with assertEqual
há 5 anos
Luke Bakken
22c8a2bfe4
Tweak appveyor settings
há 5 anos
Luke Bakken
a173cb2984
Cache chocolatey since Erlang takes forever to download
há 5 anos
Luke Bakken
745fd81e5d
Add AppVeyor build file
há 5 anos
Luke Bakken
847b811095
Fix test failures on win32 in pr_stacktrace_test module
há 5 anos
Luke Bakken
b64c05ea5b
Fix lager_test_function_transform tests on win32 as monotonic_time can return the same value
há 5 anos
Luke Bakken
8b94200328
Move test util functions into TEST section of lager_util
há 5 anos
Luke Bakken
d45849a545
Fix lager_rotator_default tests on win32
há 5 anos
Luke Bakken
b069aeaac8
Fixed tests in lager_crash_log on win32
há 5 anos
Luke Bakken
cd5f69dafe
Factor out common code into lager_util:has_file_changed
há 5 anos
Luke Bakken
62e847acaa
Add inode check to write_should_check
há 5 anos
Luke Bakken
3e9e4eb3d1
Write test files using 1 second creation time in the future, lager_file_backend suite passes on win32
há 5 anos
Luke Bakken
0bc318cfd1
Ensure creation time is updated on win32 when files are created
há 5 anos
Luke Bakken
c7d7fce951
Fix test in lager_file_backend with exception for win32
há 5 anos
Luke Bakken
439e82c40f
Take a file ctime into account when write/4 is called
há 5 anos
Luke Bakken
7bb09880cd
Refactor lager_rotator_behaviour to return a files ctime value, which is necessary for detecting changes on win32
há 5 anos
Luke Bakken
39c1248f96
Fix "Internal rotation and delayed write" test on win32
há 5 anos
Luke Bakken
ecb0f8c3cf
Fix a couple more win32 test issues in lager_file_backend
há 5 anos
Luke Bakken
3267b9861d
All but one lager_file_backend test passes on win32
há 5 anos
Luke Bakken
990210faa9
Making progress on getting lager_file_backend tests passing on win32
há 5 anos
Luke Bakken
a4ceb21b38
Fix rotate_file_fail_test on win32
há 5 anos
Luke Bakken
f03fa288d0
Remove code causing some warnings
há 5 anos
Mark Allen
27a075b0c4
Roll 3.7.0
há 6 anos
Mark Allen
afad7bb3c3
Merge pull request #503 from vikger/master
Prepare for Erlang/OTP 22
há 6 anos
Viktor Gergely
d85621d8ae
Prepare for Erlang/OTP 22
há 6 anos
Viktor Gergely
0fbda11b68
Prepare for Erlang/OTP 22
há 6 anos
Mark Allen
517472b351
Merge pull request #501 from vikger/dialyzer500
Fix dialyzer errors
há 6 anos
Viktor Gergely
a48a90bca4
Fix dialyzer errors
há 6 anos
Mark Allen
4ffdf0dbef
Roll 3.6.10
há 6 anos
Mark Allen
b89d362f24
Merge pull request #499 from lukebakken/lrb-496_dont_count_filtered_logs_in_hwm
Fix for incorrectly counting dropped messages
há 6 anos
Luke Bakken
7549c85416
Fix test
Retry strategy for flaky tests
há 6 anos
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
há 6 anos
Mark Allen
94f4cd5d4a
Merge pull request #494 from rgl/master
fix the pr_stacktrace invocation example
há 6 anos
Rui Lopes
427c60726b
fix the pr_stacktrace invocation example
há 6 anos
Andrew Thompson
b19a180dc1
Roll 3.6.9
há 6 anos
Mark Allen
a1ac676949
Merge pull request #493 from lukebakken/lrb-windows-rotation
Fix rotation on Windows
há 6 anos
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.
há 6 anos
Mark Allen
1c0ab772df
Roll 3.6.8
há 6 anos
Mark Allen
85f185f982
Merge pull request #489 from erlang-lager/gh363
Document error_logger_whitelist and other updates
há 6 anos
Mark Allen
8c08e9dc2b
Document error_logger_whitelist and other updates
Closes #363
há 6 anos
Mark Allen
c215a29c15
Merge pull request #488 from erlang-lager/gh481
Maybe remove OTP 21 logger default handler
há 6 anos
Mark Allen
9f8d7a705e
Maybe remove OTP 21 logger default handler
Closes #481
há 6 anos