diff options
author | Linus Probert <linus.probert@gmail.com> | 2023-04-19 11:28:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-19 11:28:50 +0200 |
commit | 5ca800c65fba4738dedf85058fef2eca3251fe18 (patch) | |
tree | 100b5175f09cc8a75d3d52b1051539665a571585 /doc | |
parent | a87a6985b86dce769167a4cb87afcf29abc77fbe (diff) | |
download | DLT-daemon-5ca800c65fba4738dedf85058fef2eca3251fe18.tar.gz |
logstorage: Adds option to write logs in gzip format (#442)
* logstorage: Adds option to write logs in gzip format
Adds functionality to allow storing offline logs in gzipped files
instead of standard dlt files.
* Ensure tests run safely with or without GZIP compression enabled
* Enforce minimum version of zlib if enabling gzip compression
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dlt_offline_logstorage.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/dlt_offline_logstorage.md b/doc/dlt_offline_logstorage.md index 3d29dab..91ef75b 100644 --- a/doc/dlt_offline_logstorage.md +++ b/doc/dlt_offline_logstorage.md @@ -74,6 +74,7 @@ NOFiles=<number of files> # Number of created files before oldest is SyncBehavior=<strategy> # Specify sync strategy. Default: Sync'ed after every message. See Logstorage Rinbuffer Implementation below. EcuID=<ECUid> # Specify ECU identifier SpecificSize=<spec size in bytes> # Store logs in storage devices after specific size is reached. +GzipCompression=<on or off> # Write the logfiles with gzip compression. ``` The Parameter "SyncBehavior","EcuID" and "SpecificSize" are optional - all @@ -103,6 +104,7 @@ NOFiles=5 EcuID=ECU1 SyncBehavior=ON_SPECIFIC_SIZE SpecificSize=5000 +GzipCompression=on [FILTER3] LogAppName=TEST @@ -123,6 +125,7 @@ EcuID=<ECUid> # Specify ECU identifier File=<file name> # Base name of the created files that containing the logs, e.g. "example". For further file naming scheme configurations see man dlt.conf FileSize=<file size in bytes> # Maximum file size in bytes NOFiles=<number of files> # Number of created files before oldest is deleted and a new one is created +GzipCompression=on # Compress the log files [NON-VERBOSE-LOGLEVEL-CTRL<unique number>] # filter configuration name to control log level of Non-Verbose applications LogAppName=<APID> # Name of application (wildcard allowed) |