1. 01 Dec, 2016 1 commit
  2. 05 Oct, 2016 1 commit
  3. 29 Sep, 2016 1 commit
  4. 28 Sep, 2016 1 commit
    • Panagiotis Papadomitsos's avatar
      Fix dialyzer warnings · 7598d8c3
      Panagiotis Papadomitsos authored
      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.
      7598d8c3
  5. 22 Sep, 2016 7 commits
  6. 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
  7. 21 Jun, 2016 1 commit
  8. 10 Jun, 2016 1 commit
  9. 19 May, 2016 4 commits
  10. 18 May, 2016 1 commit
  11. 11 May, 2016 1 commit
  12. 10 May, 2016 1 commit
  13. 09 Apr, 2016 1 commit
  14. 08 Apr, 2016 2 commits
  15. 07 Apr, 2016 16 commits