summaryrefslogtreecommitdiffstats
path: root/python.d
diff options
context:
space:
mode:
authorpaulfantom <paulfantom@gmail.com>2016-10-26 20:04:10 +0200
committerpaulfantom <paulfantom@gmail.com>2016-10-26 20:04:10 +0200
commit39308af3d3c8663bf97f2290cd719c256b09c277 (patch)
treea5d59ca7a104622c36468fc3e57e3a791b738c6a /python.d
parent515257e187e280144a69109e047dfd6c726f4344 (diff)
show what prevented logging
Diffstat (limited to 'python.d')
-rw-r--r--python.d/python_modules/msg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python.d/python_modules/msg.py b/python.d/python_modules/msg.py
index 203751afdb..e10819c284 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()