diff options
author | Sebastian Unger <sunger@de.adit-jv.com> | 2019-06-13 13:41:12 +0200 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2019-09-13 08:48:03 +0900 |
commit | ecca21fd40be21164d664eb7d8a52ea1fdabfde0 (patch) | |
tree | fe63a7805235da22b67ff7f39d45f09af813db2e /src/system/dlt-system.conf | |
parent | 14ea971be7e808b9c5099c7f404ed3cf341873c4 (diff) | |
download | DLT-daemon-ecca21fd40be21164d664eb7d8a52ea1fdabfde0.tar.gz |
Add user custom timestamp interface
Two new macros are introduced so that users can use their customized
timestamps for DLT messages:
- DLT_LOG_TS(CONTEXT, LOGLEVEL, TS, ARGS ...)
- DLT_LOG_ID_TS(CONTEXT, LOGLEVEL, MSGID, TS, ARGS ...)
Detailed explanations can be found in dlt_for_developers.md.
Also a new option is added to dlt-system to use events' timestamps
from journald adapter.
Signed-off-by: Sebastian Unger <sunger@de.adit-jv.com>
Diffstat (limited to 'src/system/dlt-system.conf')
-rw-r--r-- | src/system/dlt-system.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/system/dlt-system.conf b/src/system/dlt-system.conf index b3677f9..4010b70 100644 --- a/src/system/dlt-system.conf +++ b/src/system/dlt-system.conf @@ -74,6 +74,9 @@ JournalFollow = 0 # 7 Debug DLT_LOG_DEBUG JournalMapLogLevels = 1 +# Use the original timestamp (uptime when the event actually occured) as DLT timestamp (Default: 1) +JournalUseOriginalTimestamp = 1 + ######################################################################## # Filetransfer Manager ######################################################################## |