vastly simplify log rotation
This commit is contained in:
parent
aef651a7ad
commit
ee705fe7a9
2 changed files with 24 additions and 38 deletions
|
@ -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
|
||||
|
|
Reference in a new issue