Log our supposed hostname on startup

just to help with troubleshooting
This commit is contained in:
Lance Edgar 2018-10-05 19:30:01 -05:00
parent 63aa29f7d7
commit 74de10e74c

View file

@ -57,6 +57,7 @@ class TempmonClient(Daemon):
# figure out which client we are # figure out which client we are
hostname = self.config.get('tempmon.client', 'hostname', default=socket.gethostname()) hostname = self.config.get('tempmon.client', 'hostname', default=socket.gethostname())
log.info("i think my hostname is: %s", hostname)
session = Session() session = Session()
try: try:
client = session.query(tempmon.Client)\ client = session.query(tempmon.Client)\