From e9016d4e4355229b17576658ac22a11543e8e280 Mon Sep 17 00:00:00 2001
From: wangjue <jue.wang2@luxshare-ict.com>
Date: Mon, 16 Dec 2024 18:37:58 +0800
Subject: [PATCH] Change the syslog level from info to debug to reduce the
 unnecessary log

Signed-off-by: wangjue <jue.wang2@luxshare-ict.com>
---
 peci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/peci.c b/peci.c
index ab69234..1656506 100644
--- a/peci.c
+++ b/peci.c
@@ -47,13 +47,13 @@ void peci_SetDevName(char* peci_dev)
         peci_name_new[DEV_NAME_SIZE - 1] = '\0';
         peci_device_list[0] = peci_name_new;
         peci_device_list[1] = NULL;
-        syslog(LOG_INFO, "PECI set dev name to %s\n", peci_device_list[0]);
+        syslog(LOG_DEBUG, "PECI set dev name to %s\n", peci_device_list[0]);
     }
     else
     {
         peci_device_list[0] = "/dev/peci-default";
         peci_device_list[1] = "/dev/peci-0";
-        syslog(LOG_INFO, "PECI set dev names to %s, %s\n", peci_device_list[0],
+        syslog(LOG_DEBUG, "PECI set dev names to %s, %s\n", peci_device_list[0],
                peci_device_list[1]);
     }
 }
-- 
2.34.1

