[Bug]: push log to grafana cloud having logs lost
slow-groovin opened this issue · 0 comments
slow-groovin commented
The problem
make a test like
for (let i = 0; i < 100; i++) {
let xxx = ""+i;
getLogger().info(xxx)
await new Promise((resolve) => setTimeout(resolve, 500))
}
await new Promise((resolve) => setTimeout(resolve, 15000))
getLogger().end(()=>{console.log("logger end.")})
the number of logs 100
been push is aways greater than the number of grafana cloud console info Total: 82
I have tried different size and interval
I have countered the log lines content, the order is right , but some are lost
What version of Logform presents the issue?
v2.6.0
What version of Node are you using?
v20.10.0
If this is a TypeScript issue, what version of TypeScript are you using?
v5.3.3
If this worked in a previous version of Logform, which was it?
No response
Minimum Working Example
No response
Additional information
No response
🔎 Search Terms
lost missing