Merge pull request #1218 from jzelinskie/logrotate5ever

vastly simplify log rotation
This commit is contained in:
Jimmy Zelinskie 2016-03-04 13:48:21 -05:00
commit b5d904f373
2 changed files with 24 additions and 38 deletions

View file

@ -133,7 +133,7 @@ def get_stale_logs_start_id():
return None
def get_stale_logs_end_id(cutoff_date):
def get_stale_logs_cutoff_id(cutoff_date):
""" Gets the most recent ID created before the cutoff_date. """
try:
return (LogEntry