From c483c8794c7662d085dc69489a4d418d0262d633 Mon Sep 17 00:00:00 2001 From: Charlie Smith Date: Tue, 19 Jul 2016 23:38:59 -0400 Subject: [PATCH] Turn off log propagation Disable log propagation to prevent additional logging to syslog --- dockerplugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dockerplugin.py b/dockerplugin.py index bc2a36d..3ae8905 100755 --- a/dockerplugin.py +++ b/dockerplugin.py @@ -552,6 +552,7 @@ def notice(self, msg): logging.setLoggerClass(CollectdLogger) log = logging.getLogger(__name__) log.setLevel(logging.DEBUG) +log.propagate = False handle = CollectdLogHandler('docker') log.addHandler(handle)