]> arthur.barton.de Git - netdata.git/commitdiff
show what prevented logging
authorpaulfantom <paulfantom@gmail.com>
Wed, 26 Oct 2016 18:04:10 +0000 (20:04 +0200)
committerpaulfantom <paulfantom@gmail.com>
Wed, 26 Oct 2016 18:04:10 +0000 (20:04 +0200)
python.d/python_modules/msg.py

index 203751afdb051d39ab98c5f5b883c3dc772d017f..e10819c28432b3fe53e739e438f233817fc606a5 100644 (file)
@@ -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()