modifiche servizio e messaggi log
This commit is contained in:
@@ -221,7 +221,7 @@ def onMessage(cli, userdata, msg):
|
||||
elif "EXIT" in msg:
|
||||
pass
|
||||
else:
|
||||
LOGGER.error("Messaggio MQTT sconosciuto")
|
||||
LOGGER.error(f"Messaggio MQTT sconosciuto: {msg}")
|
||||
pass
|
||||
|
||||
def onConnect(cli, userdata, flags, rc):
|
||||
@@ -331,7 +331,7 @@ if __name__ == '__main__':
|
||||
# for y in tempSamples[x] for z in tempSamples[x][y]])
|
||||
firstCap = False
|
||||
firstTS = time.time()
|
||||
LOGGER.info(f'Inizio cattura TS: {datetime.fromtimestamp(firstTS).strftime("%c")}')
|
||||
LOGGER.warning(f'Inizio cattura: {datetime.fromtimestamp(firstTS).strftime("%c")}')
|
||||
pass
|
||||
else:
|
||||
for ax in tempSamples:
|
||||
|
||||
Reference in New Issue
Block a user