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

All stored logs are the same log, with the same timestamp and content #638

Open
yfan0000004 opened this issue Jun 7, 2024 · 5 comments
Open

Comments

@yfan0000004
Copy link

yfan0000004 commented Jun 7, 2024

It looks like the same log has always been read from the buffer

@yfan0000004
Copy link
Author

image

@minminlittleshrimp
Copy link
Collaborator

Could you give us more detailed information about the scenario?
Might it be called multiple times to log this log?

@yfan0000004
Copy link
Author

All log files (approximately 200MB) show only this one log, and even if they are called multiple times, they will not be the same timestamp

@michael-methner
Copy link
Collaborator

Hello @yfan0000004 ,
the given information is not enough to anaylze the issue.
Can you please try to gather more information which may lead to the root cause of the issue?
E.g.:
-Which DLT-function is used to generate the log. DLT_LOG_TS() may enforce the same TS for each message.

  • Have you reproduced the issue on latest DLT-deamon?
  • Which OS are you running on? Does your implementation of clock_gettime(CLOCK_MONOTONIC,...) work correctly?

@minminlittleshrimp
Copy link
Collaborator

Hello @yfan0000004
Could you kindly check that if there any recall for re-registration of the DltContext data structure?
Maybe the issue comes from struct initialization, it is my suggestion to create and access struct using pointer.

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

No branches or pull requests

3 participants