Permalink
Commits on Apr 7, 2016
  1. Force restart of system after a watcher kill.

    Brian L. Troutwine authored and mrallen1 committed Mar 17, 2016
    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>
  2. Update test to not rely on sleep.

    Brian L. Troutwine authored and mrallen1 committed Mar 14, 2016
    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>
  3. Attempt to redress test failures.

    blt authored and mrallen1 committed Mar 11, 2016
    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>},
                      {id,lager_handler_watcher},
                      {mfargs,{lager_handler_watcher,start_link,undefined}},
                      {restart_type,temporary},
                      {shutdown,5000},
                      {child_type,worker}]
    
    =SUPERVISOR REPORT==== 10-Mar-2016::16:18:11 ===
         Supervisor: {local,lager_handler_watcher_sup}
         Context:    child_terminated
         Reason:     killed
         Offender:   [{pid,<0.59.0>},
                      {id,lager_handler_watcher},
                      {mfargs,{lager_handler_watcher,start_link,undefined}},
                      {restart_type,temporary},
                      {shutdown,5000},
                      {child_type,worker}]
    
    =PROGRESS REPORT==== 10-Mar-2016::16:18:11 ===
              supervisor: {local,lager_sup}
                 started: [{pid,<0.113.0>},
                           {id,lager},
                           {mfargs,{gen_event,start_link,[{local,lager_event}]}},
                           {restart_type,permanent},
                           {shutdown,5000},
                           {child_type,worker}]
    
    Signed-off-by: Brian L. Troutwine <brian@troutwine.us>
  4. Fix dialyzer warnings

    mrallen1 committed Apr 7, 2016
Commits on Apr 6, 2016
  1. Merge pull request #343 from basho/gh291

    borshop committed Apr 6, 2016
    Include 'none' in the log_level type
    
    Reviewed-by: macintux
  2. Merge pull request #341 from basho/gh287

    borshop committed Apr 6, 2016
    Fix sink name typo in docs
    
    Reviewed-by: macintux
  3. Merge pull request #336 from basho/mra/gh315

    borshop committed Apr 6, 2016
    Ensure traces pointed to files work in config file
    
    Reviewed-by: macintux
  4. Merge pull request #344 from basho/fix_otp15_undef

    borshop committed Apr 6, 2016
    Flappy test clean up for TravisCI
    
    Reviewed-by: macintux
Commits on Mar 31, 2016
  1. Make dialyzer happy

    mrallen1 committed Mar 31, 2016
Commits on Mar 30, 2016
  1. Merge pull request #342 from basho/gh286

    borshop committed Mar 30, 2016
    Export configure_sink/2 for runtime sink config
    
    Reviewed-by: macintux
  2. 18.3 is too new; use 18.2.1

    mrallen1 committed Mar 30, 2016
  3. Include 'none' in the log_level type

    mrallen1 committed Mar 30, 2016
    Addresses #291. External consumers who use 'none'
    as a level in their log messages will fail dialyzer.
  4. Export configure_sink/2 for runtime sink config

    mrallen1 committed Mar 30, 2016
    Address #286. This will enable applications to
    dynamically configure log sinks, provided they
    have already instrumented the code via parse
    transformation to use those sinks.
  5. Fix sink name typo in docs

    mrallen1 committed Mar 30, 2016
    Addresses #287
  6. Use travis containers

    mrallen1 committed Mar 30, 2016
  7. Merge pull request #340 from basho/travisci

    mrallen1 committed Mar 30, 2016
    Update travis yml
  8. Add 18.3

    mrallen1 committed Mar 30, 2016
  9. Update travis yml

    mrallen1 committed Mar 30, 2016
  10. Merge pull request #337 from basho/fix_18_tests

    macintux committed Mar 30, 2016
    Put the warning map value into process dictionary (Fix OTP 18 test failures)
Commits on Mar 29, 2016
  1. Merge pull request #334 from basho/issue-332

    mrallen1 committed Mar 29, 2016
    Address #332: try both id and name
  2. Merge pull request #335 from basho/issue-329

    mrallen1 committed Mar 29, 2016
    Leverage existing lager_app:get_env wrapper for error_logger_lager_h
  3. 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.
  4. More get_env cleanup

    macintux committed Mar 29, 2016