diff options
author | Stefan Vacek <stefan.vacek@intel.com> | 2015-08-26 17:28:54 +0200 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2015-10-07 10:35:41 +0200 |
commit | c3b53f8805236cb7c72eb62ef04866f34de33103 (patch) | |
tree | 956eec44e2d0b2ec309904f15321565a3fae4e3d /doc | |
parent | 2f334a851fa1b39cab74724f3d0a0565f86c27b4 (diff) | |
download | DLT-daemon-c3b53f8805236cb7c72eb62ef04866f34de33103.tar.gz |
Add env-var to set initial log-levels
name of environment variable: DLT_INITIAL_LOG_LEVEL
Syntax:
<apid1>:<ctid1>:<loglevel1>;<apid2>:<ctid2>:<loglevel2>;...
apid: application id (up to 4 chars), if empty all applications will match
ctid: context id (up to 4 chars), if empty all contexts will match
loglevel: either -1..6 or a symbolic name (default, off, fatal, error,
warning, info, debug, verbose)
Examples:
DLT_INITIAL_LOG_LEVEL=TEST:LOG:0
-> turn off logging for appid TEST and contextid LOG
DLT_INITIAL_LOG_LEVEL=:LOG:warn
-> for contexts with name "LOG" set log-level to warning (3)
DLT_INITIAL_LOG_LEVEL=::VERBOSE
-> set log-level of all contexts to VERBOSE
DLT_INITIAL_LOG_LEVEL=::VERBOSE;TEST:LOG:3
-> set log-level of all contexts to VERBOSE except TEST:LOG, set this to WARNING
dlt-example-user: add option -l to specify log-level to be used when sending messages
Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions