From 6175dcabe67466aeb79808bedac7aedcfd79e372 Mon Sep 17 00:00:00 2001 From: nirenjan Date: Fri, 23 Jul 2021 09:41:18 -0700 Subject: [PATCH] Remove trace logging in device update thread Having the trace log in there adds unnecessary logging for no real reason. It is better to disable the log here to help trace other portions of the daemon. --- daemon/x52d_device.c | 1 - 1 file changed, 1 deletion(-) diff --git a/daemon/x52d_device.c b/daemon/x52d_device.c index 5c3f2c2..f20eddb 100644 --- a/daemon/x52d_device.c +++ b/daemon/x52d_device.c @@ -81,7 +81,6 @@ static void *x52_dev_upd(void *param) for (;;) { #define UPDATE_CHECK_DELAY 50000 if (!device_update_needed) { - PINELOG_TRACE("No update needed to the device. Checking again in %d ms", UPDATE_CHECK_DELAY/1000); usleep(UPDATE_CHECK_DELAY); continue; }