--- a/thermferm/devices.c Sat May 04 13:49:36 2024 +0200 +++ b/thermferm/devices.c Sat May 04 15:18:02 2024 +0200 @@ -851,9 +851,10 @@ int found; time_t now; bool changed; + pid_t pid = gettid(); my_devices_state = 1; - syslog(LOG_NOTICE, "Thread my_devices_loop started"); + syslog(LOG_NOTICE, "Thread my_devices_loop started, pid=%d", pid); dht11_next = time(NULL); /*