Removed unnecessary log details from server.js

This commit is contained in:
Benjamin Arntzen (aider)
2024-06-27 06:43:49 +01:00
parent a5a4e0d1f6
commit d12bb429ff
+2 -2
View File
@@ -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 {