Open hush-soul opened 1 month ago
IF i set SyncBehavior=ON_SPECIFIC_SIZE, i can solve this problem. But i want to use SyncBehavior=ON_MSG
[FILTER1] LogAppName=. ContextName=. LogLevel=DLT_LOG_VERBOSE File=text FileSize=10000 NOFiles=10 EcuID=ECU1
[FILTER2]
LogAppName=.
ContextName=.
LogLevel=DLT_LOG_VERBOSE
File=log
FileSize=50000
NOFiles=5
EcuID=ECU1
SyncBehavior=ON_SPECIFIC_SIZE
SpecificSize=200
GzipCompression=on
When I enter the command again, we can continue to store
/home/jyang/dlt-daemo/dlt-daemon-master/build/src/console/logstorage/dlt-logstorage-ctrl -c 1 -C /home/jyang/etc/dlt.conf -p /home/jyang/etc
But when the file reaches the storage limit, the next file will always become 0
Hello @hush-soul Same issue encountered here https://github.com/COVESA/dlt-daemon/issues/624 Sadly I am so busy with internal dlt maintaining tasks and now not have much time to investigate this feature. It is great if you can contribute a fix in PR and we can review and test for you. Regards
Hello @hush-soul Same issue encountered here #624 Sadly I am so busy with internal dlt maintaining tasks and now not have much time to investigate this feature. It is great if you can contribute a fix in PR and we can review and test for you. Regards
thanks,I'm not sure this is not the same problem with #624,I might try to solve
How about Linux, does the version kept latest @hush-soul ?
How about Linux, does the version kept latest @hush-soul ?
linux is the latest version
I find a same issue with #540,Reply has been resolved at #571. Checkout code has been updated but I still have this problem.
log_002_20240625-165658.dlt.gz :The size of this file is always 0![image](https://github.com/COVESA/dlt-daemon/assets/173775795/8911e802-d19b-4c69-a2e8-d47e878f4eeb)
dlt.conf : Modify only this item OfflineLogstorageMaxDevices = 1
dlt_logstorage.conf: [FILTER1] LogAppName=. ContextName=. LogLevel=DLT_LOG_VERBOSE File=text FileSize=10000 NOFiles=10 EcuID=ECU1
[FILTER2] LogAppName=. ContextName=. LogLevel=DLT_LOG_VERBOSE File=log FileSize=50000 NOFiles=5 EcuID=ECU1 GzipCompression=on
startup parameters: /home/jyang/dlt-daemo/dlt-daemon-master/build/src/daemon/dlt-daemon -d -c /home/jyang/etc/dlt.conf /home/jyang/dlt-daemo/dlt-daemon-master/build/src/console/logstorage/dlt-logstorage-ctrl -c 1 -C /home/jyang/etc/dlt.conf -p /home/jyang/etc
Looking forward to your reply, thank you