Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Commit

Permalink
Turn off log propagation
Browse files Browse the repository at this point in the history
Disable log propagation to prevent additional logging to syslog
  • Loading branch information
charless-splunk committed Jul 20, 2016
1 parent 765f2d8 commit c483c87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dockerplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c483c87

Please sign in to comment.