diff --git a/server.js b/server.js index e964a9b..e5ea15c 100644 --- a/server.js +++ b/server.js @@ -68,7 +68,7 @@ setInterval(async () => { if (Array.isArray(logs)) { console.log('Processing logs array'); logs.forEach((log, index) => { - console.log(`Processing log at index ${index}:`, log); + console.log(`Processing log at index ${index}`); const msgMatch = log._msg.match(/msg_hash=0x[0-9a-fA-F]+/); const timeMatch = log._msg.match(/receivedTime=\d+/); const nodeIdMatch = log.kubernetes_pod_name.match(/nodes-(\d+)/); @@ -109,7 +109,7 @@ setInterval(async () => { console.log(`Duplicate log found: ${logIdentifier}`); } } else { - console.warn('Log did not match expected format:', log); + console.warn('Log did not match expected format'); } }); } else {