Log our supposed hostname on startup
just to help with troubleshooting
This commit is contained in:
parent
63aa29f7d7
commit
74de10e74c
|
@ -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)\
|
||||||
|
|
Loading…
Reference in a new issue