Removed unnecessary log details from server.js
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user