Changeset 80130f3 in rattail


Ignore:
Timestamp:
03/13/19 14:34:46 (6 weeks ago)
Author:
Lance Edgar <ledgar@…>
Branches:
master
Children:
68b643c
Parents:
6b616b0
Message:

Add debug logging when "stale changes" detected for datasync

printing to stderr is useful for shinken, but need to be able to reference same
events within the log file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rattail/commands/core.py

    r6b616b0 r80130f3  
    584584        # if we found stale changes, then "fail" - otherwise we'll "succeed"
    585585        if changes:
     586            log.debug("found %s changes, in queue for %s minutes", changes, timeout)
    586587            self.stderr.write("Found {} changes, in queue for {} minutes\n".format(changes, timeout))
    587588            sys.exit(1)
Note: See TracChangeset for help on using the changeset viewer.