summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSaya Sugiura <ssugiura@jp.adit-jv.com>2019-11-25 19:30:36 +0900
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2020-07-06 10:04:07 +0900
commit43b2f7bf579858bf66511d38340f8436d5d1363d (patch)
treec081a5a62b2c66302dcf69977a06b6bfb12f961a /doc
parenta30ad65f297dddcddcf47adc18e267947da6e30c (diff)
downloadDLT-daemon-43b2f7bf579858bf66511d38340f8436d5d1363d.tar.gz
doc: Logstorage non-verbose filter
Add explanation and example to non-verbose filter. Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/dlt_offline_logstorage.md40
1 files changed, 39 insertions, 1 deletions
diff --git a/doc/dlt_offline_logstorage.md b/doc/dlt_offline_logstorage.md
index e21a574..a07a315 100644
--- a/doc/dlt_offline_logstorage.md
+++ b/doc/dlt_offline_logstorage.md
@@ -79,7 +79,7 @@ SpecificSize=<spec size in bytes> # Store logs in storage devices after speci
The Parameter "SyncBehavior","EcuID" and "SpecificSize" are optional - all
others are mandatory.
-An configuration file might look like:
+A typical configuration file may look like:
```
[FILTER1]
@@ -112,6 +112,44 @@ SyncBehavior=ON_FILE_SIZE,ON_DEMAND
EcuID=ECU1
```
+In case of Non-Verbose mode, following filters should be used.
+
+```
+[NON-VERBOSE-STORAGE-FILTER<unique number>] # filter configuration name for a Non-Verbose passive node
+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
+
+[NON-VERBOSE-LOGLEVEL-CTRL<unique number>] # filter configuration name to control log level of Non-Verbose applications
+LogAppName=<APID> # Name of application (wildcard allowed)
+ContextName=<CTID> # Name of context (wildcard allowed)
+LogLevel=<Log level> # Define log level, e.g. DLT_LOG_INFO or DLT_LOG_FATAL
+EcuID=<ECUid> # Specify ECU identifier
+```
+
+A typical configuration file may look like:
+
+```
+[NON-VERBOSE-STORAGE-FILTER1]
+EcuID=PASV
+File=scc
+FileSize=50000
+NOFiles=5
+
+[NON-VERBOSE-LOGLEVEL-CTRL1]
+LogAppName=LOG
+ContextName=TEST
+LogLevel=DLT_LOG_DEBUG
+EcuID=PASV
+
+[NON-VERBOSE-LOGLEVEL-CTRL2]
+LogAppName=.*
+ContextName=.*
+LogLevel=DLT_LOG_WARN
+EcuID=PASV
+```
+
## Usage DLT Offline Logstorage