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

Not offline logstoreage to new file in continuous power on #540

Closed
tangzhiqiang3 opened this issue Sep 22, 2023 · 7 comments · Fixed by #571
Closed

Not offline logstoreage to new file in continuous power on #540

tangzhiqiang3 opened this issue Sep 22, 2023 · 7 comments · Fixed by #571
Assignees
Labels

Comments

@tangzhiqiang3
Copy link

When a log file is full, no new files can be created to write logs;
image

@minminlittleshrimp
Copy link
Collaborator

minminlittleshrimp commented Sep 22, 2023

Hello @tangzhiqiang3 ,
thank you so much for your interest in DLT topics.

Regarding this topic, could you provide us more info, eg: your dlt logstorage conf? dlt.conf?

@tangzhiqiang3
Copy link
Author

version: origin/master(4ed1b97) branch.

dlt.conf

##############################################################################
# Offline logstorage                                                         #
##############################################################################
# Send automatic get log info response during context registration
SendContextRegistration = 1

# Set ECU ID (Default: ECU1)
ECUId = CSC1

# Size of shared memory (Default: 100000)
SharedMemorySize = 100000

# Directory where to store the persistant configuration (Default: /tmp)
PersistanceStoragePath = /var/data

# Store DLT log messages, if not set offline logstorage is off (Default: off)
# Maximum devices to be used as offline logstorage devices
OfflineLogstorageMaxDevices = 10

# Path to store DLT offline log storage messages (Default: off)
OfflineLogstorageDirPath = /var/log/qisi

# Wrap around value for log file count in file name (Default: UINT_MAX)
OfflineLogstorageMaxCounter = 100

# Maximal used memory for Logstorage Cache in KB (Default: 30000 KB)
OfflineLogstorageCacheSize = 80000

# Store DLT messages to local directory, if not set offline Trace is off (Default: off)
OfflineTraceDirectory = /var/log/qisi

ControlSocketPath = /tmp/tmp.xxxx.sock

dlt_logstorage.conf

[FILTER1]
LogAppName=xxx
ContextName=xxx, xxx
LogLevel=DLT_LOG_INFO
File=xxx
FileSize=10485760
NOFiles=50
GzipCompression=on

Could you please help me take a look? Thank you

@minminlittleshrimp
Copy link
Collaborator

minminlittleshrimp commented Oct 5, 2023

Hello @tangzhiqiang3
so sorry we are busy these days.

Do you have any progress in this issue?
And, what is the dlt-daemon version causing you this issue?
I will try to reproduce on my side and comment.

Regards

@minminlittleshrimp
Copy link
Collaborator

Issue has not been fixed yet, please keep this open

@minminlittleshrimp minminlittleshrimp self-assigned this Nov 19, 2023
@minminlittleshrimp minminlittleshrimp linked a pull request Nov 19, 2023 that will close this issue
@minminlittleshrimp
Copy link
Collaborator

Hello @tangzhiqiang3
Sorry for my late fixing.
Fix is now available for review at: #571

@tangzhiqiang3
Copy link
Author

Okay, I'll try again

@minminlittleshrimp
Copy link
Collaborator

Please kindly try and ping me if there are any issues
Thank you

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

Successfully merging a pull request may close this issue.

2 participants