Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logs order is not maintained in live trail as well as in search #11

Open
ahsanshafiq opened this issue Aug 20, 2019 · 3 comments
Open

Comments

@ahsanshafiq
Copy link

Versions:
logdna-winston: 2.2.1
winston: 3.2.1
node.js: v8.12.0

Problem:
Logs are received/saved in incorrect order and hence live trail displays them in incorrect order as well.
Eaxmple:

Console:
[2019-08-20 05:24:55.897] [logId: 1]
[2019-08-20 05:24:55.900] [logId: 2]
[2019-08-20 05:24:56.099] [logId: 3]
[2019-08-20 05:24:56.103] [logId: 4]
[2019-08-20 05:24:56.104] [logId: 5]
[2019-08-20 05:24:56.104] [logId: 6]
[2019-08-20 05:24:56.281] [logId: 7]
[2019-08-20 05:24:56.281] [logId: 8]
[2019-08-20 05:24:56.283] [logId: 9]
[2019-08-20 05:24:56.286] [logId: 10]
[2019-08-20 05:24:56.290] [logId: 11]
[2019-08-20 05:24:56.294] [logId: 12]

Logdna live trail/view in context:
2019-08-20 05:24:55.934 [logId: 1]
2019-08-20 05:24:55.939 [logId: 2]
2019-08-20 05:24:56.140 [logId: 4]
2019-08-20 05:24:56.141 [logId: 5]
2019-08-20 05:24:56.141 [logId: 6]
2019-08-20 05:24:56.319 [logId: 7]
2019-08-20 05:24:56.319 [logId: 8]
2019-08-20 05:24:56.320 [logId: 9]
2019-08-20 05:24:56.324 [logId: 10]
2019-08-20 05:24:56.327 [logId: 11]
2019-08-20 05:24:56.617 [logId: 12]
2019-08-20 05:24:57.462 [logId: 3]

I have stripped actual logs messages but this is not the only case when it happened. This is a recurring issue.

Any help would be appreciated.

@ahsanshafiq
Copy link
Author

@respectus @LYHuang ^^

@tylergets
Copy link

Also seeing this issue, considering switching

@codeniko
Copy link

Upvoting issue, also seeing this. This makes it a bit hard to debug issues when the order of events is important. It's been open for a year, any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants