From: paulfantom Date: Wed, 26 Oct 2016 18:04:10 +0000 (+0200) Subject: show what prevented logging X-Git-Tag: v1.5.0~203^2~1 X-Git-Url: https://arthur.barton.de/gitweb/?p=netdata.git;a=commitdiff_plain;h=39308af3d3c8663bf97f2290cd719c256b09c277 show what prevented logging --- diff --git a/python.d/python_modules/msg.py b/python.d/python_modules/msg.py index 203751af..e10819c2 100644 --- a/python.d/python_modules/msg.py +++ b/python.d/python_modules/msg.py @@ -34,7 +34,7 @@ def log_msg(msg_type, *args): NEXT_CHECK = now - (now % LOG_INTERVAL) + LOG_INTERVAL if LOG_COUNTER < 0: timestamp = strftime('%Y-%m-%d %X') - msg = "%s: Prevented %s log messages from displaying" % (timestamp, str(0 - LOG_COUNTER)) + msg = "%s: python.d.plugin: Prevented %s log messages from displaying" % (timestamp, str(0 - LOG_COUNTER)) WRITE(msg + "\n") FLUSH()