COVESA/dlt-daemon

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

Opened this issue · 5 comments

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

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

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

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?

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.