1. 29 Sep, 2016 1 commit
  2. 22 Sep, 2016 7 commits
  3. 15 Aug, 2016 1 commit
    • Joe DeVivo's avatar
      Fixed legacy support for {crash_log, undefined} · 4306d887
      Joe DeVivo authored
      Applications that explicitly configure lager's `crash_log` with the
      value `undefined` will get a really terrible crash message for all
      versions since 81222ca4
      
      Diff here: https://github.com/basho/lager/commit/81222ca4869402b4b790bce3f2df40f9b2d213a0#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`
      4306d887
  4. 21 Jun, 2016 1 commit
  5. 10 Jun, 2016 1 commit
  6. 19 May, 2016 4 commits
  7. 18 May, 2016 1 commit
  8. 11 May, 2016 1 commit
  9. 10 May, 2016 1 commit
  10. 09 Apr, 2016 1 commit
  11. 08 Apr, 2016 2 commits
  12. 07 Apr, 2016 18 commits
  13. 06 Apr, 2016 1 commit