From 712dc8e4c754ff9be8eab0e95b27f54048a17158 Mon Sep 17 00:00:00 2001 From: brent s Date: Fri, 24 Jul 2020 23:08:27 -0400 Subject: [PATCH] increasing logging on update timestamp comparison --- repomirror/sync.py | 1 + 1 file changed, 1 insertion(+) diff --git a/repomirror/sync.py b/repomirror/sync.py index f41f977..2adf401 100644 --- a/repomirror/sync.py +++ b/repomirror/sync.py @@ -316,6 +316,7 @@ class Distro(object): if update: if local_checks and (local_checks[-1] < update): _logger.info('Newest local timestamp is older than the remote update; syncing.') + _logger.debug('Newest local: {0}, remote update: {1}'.format(local_checks[-1], update)) u.has_new = True elif not local_checks: _logger.info('No local timestamps; syncing.')