From 43b2f7bf579858bf66511d38340f8436d5d1363d Mon Sep 17 00:00:00 2001 From: Saya Sugiura Date: Mon, 25 Nov 2019 19:30:36 +0900 Subject: doc: Logstorage non-verbose filter Add explanation and example to non-verbose filter. Signed-off-by: Saya Sugiura --- doc/dlt_offline_logstorage.md | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) (limited to 'doc') 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= # 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] # filter configuration name for a Non-Verbose passive node +EcuID= # Specify ECU identifier +File= # Base name of the created files that containing the logs, e.g. "example". For further file naming scheme configurations see man dlt.conf +FileSize= # Maximum file size in bytes +NOFiles= # Number of created files before oldest is deleted and a new one is created + +[NON-VERBOSE-LOGLEVEL-CTRL] # filter configuration name to control log level of Non-Verbose applications +LogAppName= # Name of application (wildcard allowed) +ContextName= # Name of context (wildcard allowed) +LogLevel= # Define log level, e.g. DLT_LOG_INFO or DLT_LOG_FATAL +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 -- cgit v1.2.1