Permalink
Commits on Oct 5, 2016
Commits on Sep 29, 2016
  1. Update goldrush dep to 0.19 basho's fork

    Brett Hazen
    Brett Hazen committed Sep 29, 2016
Commits on Sep 28, 2016
  1. Fix dialyzer warnings

    priestjim committed Sep 28, 2016
    Add `| 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.
Commits on Sep 22, 2016
  1. Merge pull request #375 from basho/release-dr-roll-3.2.2

    JeetKunDoug committed Sep 22, 2016
    BORS seems to be out to lunch - going to merge manually after rebasing on top of master
  2. Roll 3.2.2

    JeetKunDoug committed Sep 22, 2016
  3. Merge pull request #374 from basho/bugfix_dr_lager_file_backend_old_c…

    borshop committed Sep 22, 2016
    …onfig_compat
    
    Restore backwards-compatible `lager_file_backend` configurations.
    
    Reviewed-by: macintux
  4. Merge pull request #364 from redink/crash_log_undefined

    borshop committed Sep 22, 2016
    mark for no crash log
    
    Reviewed-by: JeetKunDoug
  5. Restore backwards-compatible `lager_file_backend` configurations.

    JeetKunDoug committed Sep 22, 2016
    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`.
  6. Merge pull request #371 from joedevivo/master

    borshop committed Sep 22, 2016
    Fixed legacy support for {crash_log, undefined}
    
    Reviewed-by: JeetKunDoug
Commits on Aug 15, 2016
  1. Fixed legacy support for {crash_log, undefined}

    joedevivo committed Aug 15, 2016
    Applications that explicitly configure lager's `crash_log` with the
    value `undefined` will get a really terrible crash message for all
    versions since 81222ca
    
    Diff here: 81222ca#diff-25e915f0df09d04052d2a6e85b8824f2
    
    That message looks like this:
    
    ```
    ** Generic server lager_crash_log terminating
    ** Last message in was rotate
    ** When Server state == {state,undefined,
                                  {file_descriptor,prim_file,{#Port<0.1340>,15}},
                                  281571,65536,10485760,
                                  [{hour,0}],
                                  5,false}
    ** Reason for termination ==
    ** {badarg,[{erlang,'++',[undefined,".3"],[]},
               {lager_util,rotate_logfile,2,
                           [{file,"_build/default/lib/lager/src/lager_util.erl"},
                            {line,220}]},
               {lager_crash_log,handle_info,2,
                                [{file,"_build/default/lib/lager/src/lager_crash_log.erl"},
                                 {line,99}]},
               {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,601}]},
               {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,667}]},
               {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}
    ```
    
    This fix will allow people who use this legacy configuration to not
    experience production crashes at midnight after the deploy, when
    crash_log tries to rotate for the very first time, resulting in trying
    to append `.Int` to `undefined`
Commits on Jun 21, 2016
  1. mark for no crash log

    redink
    redink committed Jun 21, 2016
Commits on Jun 10, 2016
  1. Roll 3.2.1

    macintux committed Jun 10, 2016
Commits on May 19, 2016
  1. Merge pull request #360 from basho/bugfix_jrd_watcher-test

    borshop committed May 19, 2016
    Cleanup for test, whitespace
    
    Reviewed-by: javajolt
  2. * Undo unnecessary whitespace

    macintux committed May 19, 2016
    * 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
  3. Merge pull request #355 from juise/fix-get-env

    macintux committed May 19, 2016
    Fix get_env bug
Commits on May 18, 2016
  1. Merge pull request #321 from weisslj/support-typed-records

    borshop committed May 18, 2016
    Support typed records newly exposed in OTP 19
    
    Reviewed-by: macintux
Commits on May 11, 2016
  1. Add get_env unit test

    juise committed May 11, 2016
Commits on May 10, 2016
  1. Fix get_env bug

    juise committed May 10, 2016
Commits on Apr 9, 2016
  1. Roll 3.2.0

    mrallen1 committed Apr 9, 2016
Commits on Apr 8, 2016
  1. Merge pull request #346 from basho/mra/overload_killer

    borshop committed Apr 8, 2016
    Incorporate an optional 'sink killer' for load shedding purposes
    
    Reviewed-by: bsparrow435
Commits on Apr 7, 2016
  1. Fix dialyzer warnings

    mrallen1 committed Apr 7, 2016
  2. Add a sleep to prevent losing race condition

    mrallen1 committed Mar 29, 2016
    Lager 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 dumps it.
  3. Send the sink name with reboot message

    mrallen1 committed Mar 29, 2016
    Previously, was always hardcoded to the default sink name.
  4. Overhaul start up and add killer config

    mrallen1 committed Mar 29, 2016
    Previously, 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.
  5. Correct removal of reinstall_handler.

    Brian L. Troutwine authored and mrallen1 committed Mar 19, 2016
    Signed-off-by: Brian L. Troutwine <brian.troutwine@adroll.com>
  6. Correct test failures for lager_handler_watcher.

    Brian L. Troutwine authored and mrallen1 committed Mar 17, 2016
    Signed-off-by: Brian L. Troutwine <brian.troutwine@adroll.com>