Add logging During Statup for haproxy-statsd

Currently there is no logging with haproxy-statsd when it starts up and
start running. In this case, we are unable to know if the process starts
or not as the log file is completely empty if there is no exceptions.

This commits added an info log during haproxy-statsd startup.

Change-Id: I572005479b7caffe6214ec13f73ee052ed61e8f9
This commit is contained in:
Gene Kuo 2023-04-30 15:50:53 +09:00
parent cd0a9913d4
commit 8116fcacd6

View File

@ -166,6 +166,7 @@ class HAProxy(object):
pipe.send()
def run(self):
self.log.info("Starting haproxy-statsd")
while True:
try:
self._run()