diff options
author | LUONG HONG DUY KHANH(RBVH/ENG42) <KHANH.LUONGHONGDUY@vn.bosch.com> | 2020-03-18 13:40:43 +0700 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2020-07-06 10:04:07 +0900 |
commit | 156bb01a731661e0b90be90a58e56102352c33ad (patch) | |
tree | d87c1abe17dfff671477edf8f994b2f8b94e0f5d /doc | |
parent | 573c1f9a0ba41b7ffa45f36e05b7f50aae3fb1ec (diff) | |
download | DLT-daemon-156bb01a731661e0b90be90a58e56102352c33ad.tar.gz |
Redirect stdout to stderr
- daemon: New feature for LoggingMode at /etc/dlt.conf to be able to
set value at 3 in order to redirect all stdout messages to stderr.
- libdlt: New feature for DLT_LOG_MODE environment variable to be able
to set value at 3 in order to redirect all stdout messages to stderr.
- unit test: Add test cases for DLT_LOG_TO_STDERR
Signed-off-by: LUONG HONG DUY KHANH(RBVH/ENG42) <KHANH.LUONGHONGDUY@vn.bosch.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dlt.conf.5.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/dlt.conf.5.md b/doc/dlt.conf.5.md index 6dd9ee5..4b30150 100644 --- a/doc/dlt.conf.5.md +++ b/doc/dlt.conf.5.md @@ -63,7 +63,7 @@ This is the directory path, where the DLT daemon stores its runtime configuratio ## LoggingMode -The logging console for internal logging of dlt-daemon. 0 = log to stdout, 1 = log to syslog, 2 = log to file (see LoggingFilename) +The logging console for internal logging of dlt-daemon. 0 = log to stdout, 1 = log to syslog, 2 = log to file (see LoggingFilename), 3 = log to stderr Default: 0 |