@cryptotaxi247 / netdata-1 / commits / 62111eece

SocketService error -> debug

paulfantom committed Jul 15, 2016 at 16:41 UTC 62111eece08db35a301b80c5643d907b42df4d1e
1 file changed +4 -4
python.d/python_modules/base.py
+4 -4
@@ -552,19 +552,19 @@ class SocketService(SimpleService):
552 try:
553 self.unix_socket = str(self.configuration['socket'])
554 except (KeyError, TypeError):
555 - self.error("No unix socket specified. Trying TCP/IP socket.")
555 + self.debug("No unix socket specified. Trying TCP/IP socket.")
556 try:
557 self.host = str(self.configuration['host'])
558 except (KeyError, TypeError):
559 - self.error("No host specified. Using: '" + self.host + "'")
559 + self.debug("No host specified. Using: '" + self.host + "'")
560 try:
561 self.port = int(self.configuration['port'])
562 except (KeyError, TypeError):
563 - self.error("No port specified. Using: '" + str(self.port) + "'")
563 + self.debug("No port specified. Using: '" + str(self.port) + "'")
564 try:
565 self.request = str(self.configuration['request'])
566 except (KeyError, TypeError):
567 - self.error("No request specified. Using: '" + str(self.request) + "'")
567 + self.debug("No request specified. Using: '" + str(self.request) + "'")
568 self.request = self.request.encode()
569
570