From 5badcb64d0bf7e840074303db0e11fc53de35c47 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 17 Jul 2015 11:13:42 -0700 Subject: [PATCH] Import socket so we can use it to get name info Previously this was using socket.getaddrinfo() without importing socket and causing the daemon to fail. Running in the foreground did not use statsd thus did not attempt to resolve the statsd host which is how this got past manual testing. Import socket to get everything working agian. Change-Id: I280973bdcdf472736a07d19173559b062ed74d3c --- log_processor/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/log_processor/client.py b/log_processor/client.py index 56466bf..8f5e985 100644 --- a/log_processor/client.py +++ b/log_processor/client.py @@ -23,6 +23,7 @@ import os import os.path import re import signal +import socket import threading import time import yaml