Mark Allen
7662a8040d
Add comments and change binding name for clarity
9 anos atrás
Mark Allen
53b5eb808b
Put the warning map value into process dictionary
The sync_error_logger file looks up the value to send from a process
dictionary entry named `warning_map' When it is unset, it uses a mapping
which is fine for OTP 17 and before, but 18 and 19 the value changed.
So now we put the current mapping value into the process dictionary so
that the messages do not cause failed tests.
9 anos atrás
Mark Allen
b2cb273571
Release 3.1.0
9 anos atrás
Bishop Bors
c973e94bb3
Merge pull request #311 from rabbitmq/rotate-command
API to explicitly call log rotation
Reviewed-by: macintux
9 anos atrás
Mark Allen
c7737da3a1
Release 3.0.3
9 anos atrás
Bishop Bors
a88fcd5481
Merge pull request #317 from basho/gh304
Do not add logroot in expand_path sometimes
Reviewed-by: bsparrow435
9 anos atrás
Bishop Bors
23c5cc5da7
Merge pull request #305 from hairyhum/error_logger_format_raw
Option to not reformat error_logger messages
Reviewed-by: macintux
9 anos atrás
Mark Allen
eb249f8172
Do not add logroot in expand_path sometimes
If expand_path/1 already contains LogRoot in its RelPath, do not
add it again.
9 anos atrás
Daniil Fedotov
c278368a65
Replace API for file rotation. Now supports rotate_handler/1,2 to rotate custom handler
9 anos atrás
Daniil Fedotov
4373c6e567
typo
9 anos atrás
Bishop Bors
43183f3663
Merge pull request #316 from basho/rabbitmq-close-file-after-timebased-rotation
Close file right after rotation
Reviewed-by: bsparrow435
9 anos atrás
Mark Allen
063d628549
Dialyzer insists on matching a return value
9 anos atrás
Mark Allen
1ac1cc17ac
Merge branch 'close-file-after-timebased-rotation' of https://github.com/rabbitmq/lager into rabbitmq-close-file-after-timebased-rotation
9 anos atrás
Bishop Bors
0076f317b7
Merge pull request #307 from basho/gh296-fix
Start traces after extra sinks are started
Reviewed-by: macintux
9 anos atrás
Bishop Bors
7d2b04c1b2
Merge pull request #313 from basho/goldrush-018
Bump goldrush to 0.1.8 for not equal filters
Reviewed-by: macintux
9 anos atrás
Bishop Bors
e8348964df
Merge pull request #306 from basho/gh267-fix
Fix internal tuple argument order
Reviewed-by: macintux
9 anos atrás
Mark Allen
cf4e4e5049
Bump goldrush to 0.1.8 for not equal filters
9 anos atrás
Mark Allen
0fb72d7744
Add tests for stopping traces gh#267
9 anos atrás
Mark Allen
cb5114fbc3
Delete trace from the global handler list too
9 anos atrás
Daniil Fedotov
962eb2c1d7
Rotate as gen_event:call
9 anos atrás
Jean-Sébastien Pédron
31a5fc5b13
lager_file_backend: Close file after time-based rotation
Before, the old file was still being used until the next
`check_interval`, where the file was recreated and reopened.
9 anos atrás
Daniil Fedotov
af3a2d79c4
API to explicitly call log rotation
9 anos atrás
Daniil Fedotov
f9b38c5850
error_logger_format_raw added to module state
9 anos atrás
Daniil Fedotov
edcf7f4992
No default config for reformatting error_logger messages
9 anos atrás
Daniil Fedotov
4b9b21ce64
Valid case statement
9 anos atrás
Daniil Fedotov
75e827a1bf
Application env error_logger_format_raw to not reformat error_logger messages
9 anos atrás
Mark Allen
310ed140ab
Merge pull request #303 from hairyhum/master
Support for separate sink for error_logger messages
9 anos atrás
Mark Allen
66869e2d63
Start traces after extra sinks are started
Previously, if you configured a trace to use an
extra sink, you'd get a noproc error. Addresses
issue #296 on github.
9 anos atrás
Mark Allen
043c5ca95f
Merge branch 'master' of https://github.com/pvmart/lager into pvmart-master
9 anos atrás
Daniil Fedotov
146b0461fd
Tests and SHOULD_LOG fix
9 anos atrás
Daniil Fedotov
2248a2aad1
Support for separate sing for error_logger messages
9 anos atrás
Bishop Bors
7177cb0737
Merge pull request #300 from basho/gh292-3x-forward-port
Forward port #292 to 3.x branch
Reviewed-by: shino
9 anos atrás
Mark Allen
6452db6388
Forward port #292 to 3.x branch
255 is a valid ISO-8859-1 character. This was fixed
on 2.x by #292 . Forward port the fix into 3.x.
9 anos atrás
Mark Allen
1265b62df5
Merge pull request #298 from habibutsu/master
Function for printing stacktrace in human readable form
9 anos atrás
Alexander Verbitsky
aef8b9a9f4
Rewriting of function for printing stacktrace in human readable form with using 'format_mfa'
9 anos atrás
Alexander Verbitsky
030309e8f1
Backward compatibility for old OTP versions
9 anos atrás
Alexander Verbitsky
93f1c95894
Function for printing stacktrace in human readable form
9 anos atrás
Mark Allen
599dda6786
Roll 3.0.2
* Add formatting options to align text differently if desired
* Fix some typos in comments and docs
* Optionally print all metadata
* Fix R15 compatibility
9 anos atrás
Mark Allen
4dedf15501
Merge pull request #297 from A40in/default_formatter_width
Add option to format output with Width param in lager_default_formatter
9 anos atrás
sag
36701dba58
fix: string:right is arity 2, test for bad args
9 anos atrás
sag
55108be9f2
fix: the word width is misspelled in all of the test cases
9 anos atrás
sag
69feaad151
Add option to format output with Width param (Width | {left|center|right,Width})
ex:[{pid, ["123456:", pid], ["Unknown Pid"], {right, 10}}] -> if pid is in the metadata print " 123456: <?.?.?>", otherwise print "nknown Pid"
placeholders: date, time, message, sev, metadata and new placeholder blank(blank | {blank, Fill} ignore width param
9 anos atrás
Mark Allen
363ca0a857
Merge pull request #295 from snaiper80/fix_typo
Fix several typos in srcs
9 anos atrás
Lee GiTack
8b16d41201
Fix several typos
9 anos atrás
Mark Allen
4d2ec8c701
Merge pull request #294 from basho/enhancement/print-all-metadata
Add option to print all metadata in the default formatter
9 anos atrás
Andrew Thompson
8438687757
Add option to print all metadata in the default formatter
Metadata can be printed with standard or custom internal seperators ad field
seperators. The defaults are "=" and " ":
"key1=value1 key2=value2"
9 anos atrás
Bishop Bors
e82bb13efa
Merge pull request #284 from basho/bugfix/jrd/r15-compat
Fix R15 compatibility
Reviewed-by: mrallen1
9 anos atrás
John R. Daily
2f7f7b7dde
application:get_env/3 has different semantics than get_env/2
9 anos atrás
John R. Daily
6e2d97389c
Handle lack of get_env/3 within R15
9 anos atrás
Mark Allen
cbf6679c6a
Roll 3.0.1
9 anos atrás