Read-Only Related Mirrors
  1. Read-Only Related Mirrors

Github-lager

Public
AuthorCommitMessageCommit dateIssues
Nick MarinoGitHubNick Marino
81eaef0ce98MMerge pull request #376 from priestjim/feature/fix-dialyzer-warningsFix dialyzer warnings
Brett HazenBrett Hazen
571aa65c565Update goldrush dep to 0.19 basho's fork
Panagiotis PapadomitsosPanagiotis Papadomitsos
7598d8c398aFix dialyzer warningsAdd `| undefined` to records that get initialized with not all their fields set to the proper type (hence get the value undefined). These fixes allow lager to exist as a dependency in a project and be filtered through that project's dialyzer run without warnings.
Doug RohrerGitHubDoug Rohrer
bce5504a955MMerge pull request #375 from basho/release-dr-roll-3.2.2BORS seems to be out to lunch - going to merge manually after rebasing on top of master
Doug RohrerDoug Rohrer
7210c146d80Roll 3.2.2
Bishop BorsGitHubBishop Bors
e7b1464660eMMerge pull request #374 from basho/bugfix_dr_lager_file_backend_old_config_compatRestore backwards-compatible `lager_file_backend` configurations. Reviewed-by: macintux
Bishop BorsGitHubBishop Bors
049f3a932fdMMerge pull request #364 from redink/crash_log_undefinedmark for no crash log Reviewed-by: JeetKunDoug
Doug RohrerDoug Rohrer
fce24bc8768Remove trailing whitespace.
Doug RohrerDoug Rohrer
dd780f2b710Restore backwards-compatible `lager_file_backend` configurations.The strict configuration work in 31cf6c0 prevents some backwards-compatible code in lager_file_backend from working as the configuration is rejected before it gets to the backend. This fix adds an additional guard on `check_handler_config/2` to support the `tuple` configuration structure supported by `lager_file_backend`.
Bishop BorsGitHubBishop Bors
1b20b7c34ceMMerge pull request #371 from joedevivo/masterFixed legacy support for {crash_log, undefined} Reviewed-by: JeetKunDoug
Joe DeVivoJoe DeVivo
4306d887a6bFixed legacy support for {crash_log, undefined}Applications that explicitly configure lager's `crash_log` with the value `undefined` will get a really terrible crash message for all versions since 81222ca4869402b4b790bce3f2df40f9b2d213a0 Diff here: https://github.com/basho/lager/commit/81222ca4869402b4b790bce3f2df40f9b2d213a0#diff-25e915f0df09d04052d2a6e85b8824f2 That message looks like this: ``` ** Generic server lager_crash_log termina...
redinkredink
e22016062eemark for no crash log
John R. DailyJohn R. Daily
8187757388cRoll 3.2.1
Bishop BorsBishop Bors
154dfe673e0MMerge pull request #360 from basho/bugfix_jrd_watcher-testCleanup for test, whitespace Reviewed-by: javajolt
John R. DailyJohn R. Daily
124ba14f188R15 does not appear to properly handle the export_all directive added to rebar.config
John R. DailyJohn R. Daily
0d428368e3c* Undo unnecessary whitespace* Make lager_handler_watcher test more resilient by scanning for messages of interest rather than assuming we know exactly what messages will arrive at the test backend
John DailyJohn Daily
651e793d9d3MMerge pull request #355 from juise/fix-get-envFix get_env bug
Bishop BorsBishop Bors
b223d3f60a1MMerge pull request #321 from weisslj/support-typed-recordsSupport typed records newly exposed in OTP 19 Reviewed-by: macintux
Alexander PetrovskyAlexander Petrovsky
09aee4b601eAdd get_env unit test
Alexander PetrovskyAlexander Petrovsky
4c87abcd4f9Fix get_env bug
Mark AllenMark Allen
45fe95ba6cdRoll 3.2.0
Bishop BorsBishop Bors
1159f9262fbMMerge pull request #346 from basho/mra/overload_killerIncorporate an optional 'sink killer' for load shedding purposes Reviewed-by: bsparrow435
Mark AllenMark Allen
7b752f99375Add a message about checking mailbox length
Mark AllenMark Allen
2f9ce2513d4Reduce amount of backend spawns
Mark AllenMark Allen
f947d65a023Document sink killer in README
Mark AllenMark Allen
d2dfec2a324Add 10 second timeout for trace stop
Mark AllenMark Allen
82788b996c1Make sure we flush after app restart
Mark AllenMark Allen
2a129c2b151MMerge branch 'mra/overload_killer' of github.com:/basho/lager into mra/overload_killer
Mark AllenMark Allen
af9947da25dFix dialyzer warnings
Mark AllenMark Allen
9393c5bd3bfTest manager killer on alternate sink
Mark AllenMark Allen
ec43800bd5bAdd a sleep to prevent losing race conditionLager logs its own application start up message. Previously this message was discarded or not received quickly enough to cause test failures, but now it seems as though it is being received and causing several test failures even though we are explicitly flushing it away. We introduce a 5 millisecond sleep for several tests to make sure the start up message is received before the flush command ...
Mark AllenMark Allen
e6e7f6645fdSend the sink name with reboot messagePreviously, was always hardcoded to the default sink name.
Mark AllenMark Allen
bd3c1ecd9ddOverhaul start up and add killer configPreviously, configuration would come from application:get_env/3 or proplists:get_value/3. Now we standardize on a single format for retrieving values from the environment or from a proplist.
Brian L. TroutwineMark AllenBrian L. Troutwine
35e10cfc4e1Correct removal of reinstall_handler.Signed-off-by: Brian L. Troutwine <brian.troutwine@adroll.com>
Brian L. TroutwineMark AllenBrian L. Troutwine
2d42e95fe8aCorrect test failures for lager_handler_watcher.Signed-off-by: Brian L. Troutwine <brian.troutwine@adroll.com>
Brian L. TroutwineMark AllenBrian L. Troutwine
3d56494e398Force restart of system after a watcher kill.This is, perhaps, not the most ideal setup. It still ignores other sinks but does bring logging back online after the appropriate delay. Signed-off-by: Brian L. Troutwine <brian.troutwine@adroll.com>
Brian L. TroutwineMark AllenBrian L. Troutwine
901ad9b1dd4Update test to not rely on sleep.This test only passes when run in isolation. That is, if you run the suite solo everything is beautiful and nothing hurts. When run in the group, it fails. By inspection it seems that no trace messages are being sent and this causes the failure, for want of specific traces. Signed-off-by: Brian L. Troutwine <brian.troutwine@adroll.com>
Brian L. TroutwineMark AllenBrian L. Troutwine
49311b27e13Attempt to redress test failures.At this point in the work, the killer will correctly stop the DEFAULT_SINK in the event of overload but our friend never comes back up and lager stops working past this point. Oops! Error message: =SUPERVISOR REPORT==== 10-Mar-2016::16:18:11 === Supervisor: {local,lager_handler_watcher_sup} Context: child_terminated Reason: killed Offender: [{pid,<0.63.0>}, ...
Sungjin ParkMark AllenSungjin Park
09b36f1c129Add lager_manager_killer and tests for it.
Mark AllenMark Allen
da14d152ba4Fix dialyzer warnings
Mark AllenMark Allen
0a9dd17f906Test manager killer on alternate sink
Bishop BorsBishop Bors
54d520c2a6cMMerge pull request #343 from basho/gh291Include 'none' in the log_level type Reviewed-by: macintux
Bishop BorsBishop Bors
01a3c3dc984MMerge pull request #341 from basho/gh287Fix sink name typo in docs Reviewed-by: macintux
Bishop BorsBishop Bors
09db1d51a29MMerge pull request #336 from basho/mra/gh315Ensure traces pointed to files work in config file Reviewed-by: macintux
Bishop BorsBishop Bors
11321947bbdMMerge pull request #344 from basho/fix_otp15_undefFlappy test clean up for TravisCI Reviewed-by: macintux
Mark AllenMark Allen
7aaa6add081Remove any lingering traces config
Mark AllenMark Allen
1568cfcd9cbCompletely remove lager_config table
Mark AllenMark Allen
1453104f554Make dialyzer happy
Mark AllenMark Allen
991383d24baMake sure the ETS config table is really dead
Mark AllenMark Allen
a217c885018Add 30 second eunit timeout to gh280