diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dlt.conf.5.md | 20 | ||||
-rw-r--r-- | doc/dlt_for_developers.md | 5 | ||||
-rw-r--r-- | doc/dlt_offline_logstorage.md | 3 |
3 files changed, 26 insertions, 2 deletions
diff --git a/doc/dlt.conf.5.md b/doc/dlt.conf.5.md index aeb2dfc..8090438 100644 --- a/doc/dlt.conf.5.md +++ b/doc/dlt.conf.5.md @@ -79,6 +79,26 @@ If LoggingMode is set to 2 logs are written to the file path given here. Default: /tmp/dlt.log +## EnableLoggingFileLimit + +Only relevant for logging in file (LoggingMode = 2). +If EnableLoggingFileLimit is set to 0, the daemon logs to one logging file without any size limit. +If EnableLoggingFileLimit is set to 1, the daemon considers the size limits configured by LoggingFileSize and LoggingFileMaxSize. If the limits are configured accordingly, multiple log files are used. + + Default: 0 + +## LoggingFileSize + +Only considered for logging in file (LoggingMode = 2) and EnableLoggingFileLimit = 1. Maximum size in bytes of one logging file. + + Default: 250000 + +## LoggingFileMaxSize + +Only considered for logging in file (LoggingMode = 2) and EnableLoggingFileLimit = 1. Maximum size in bytes of all logging files. + + Default: 1000000 + ## TimeOutOnSend Socket timeout in seconds for sending to clients. diff --git a/doc/dlt_for_developers.md b/doc/dlt_for_developers.md index d664ab8..355eb03 100644 --- a/doc/dlt_for_developers.md +++ b/doc/dlt_for_developers.md @@ -69,7 +69,7 @@ You can thus: ``` find_package(automotive-dlt REQUIRED) ... -target_link_libraries(myapp PRIVATE Genivi::DLT) +target_link_libraries(myapp PRIVATE Genivi::dlt) ``` which lets your project automatically gain all necessary compile and link flags needed by libdlt, including the include directories. @@ -226,7 +226,8 @@ for(int index=0; index<MAX; index++) Good example: ``` -for(int index=0; index<MAX; index++) +int index = 0; +for(; index<MAX; index++) { /* ... */ } 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) |