From e22e6a619e00421932cc09d7b61c2e87c42c39d4 Mon Sep 17 00:00:00 2001 From: "Fabian P. Schmidt" Date: Fri, 29 Jan 2016 02:49:58 +0100 Subject: [PATCH] gateway: Add logging of dropped packets --- ogn/gateway/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogn/gateway/client.py b/ogn/gateway/client.py index 53e359f..cb8d806 100644 --- a/ogn/gateway/client.py +++ b/ogn/gateway/client.py @@ -84,7 +84,7 @@ class ognGateway: self.logger.error('OgnParseError while parsing line: {}'.format(line), exc_info=True) return except AmbigousTimeError as e: - self.logger.error('Drop packet, {:.0f}s from past.'.format(e.timedelta.total_seconds())) + self.logger.error('Drop packet, {:.0f}s from past: {}'.format(e.timedelta.total_seconds(), line)) return if beacon is not None: