diff options
author | paulfantom <paulfantom@gmail.com> | 2016-10-26 20:04:10 +0200 |
---|---|---|
committer | paulfantom <paulfantom@gmail.com> | 2016-10-26 20:04:10 +0200 |
commit | 39308af3d3c8663bf97f2290cd719c256b09c277 (patch) | |
tree | a5d59ca7a104622c36468fc3e57e3a791b738c6a /python.d | |
parent | 515257e187e280144a69109e047dfd6c726f4344 (diff) |
show what prevented logging
Diffstat (limited to 'python.d')
-rw-r--r-- | python.d/python_modules/msg.py | 2 |
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() |