[genivi-dlt] How to change the dlt default level from dlt.conf
Lipka, Christoph (ADITG/ESA)
clipka at de.adit-jv.com
Mon May 29 02:32:03 EDT 2017
The default log level in the library is INFO. So I guess you receiving INFO messages in the beginning only? What do you mean with "printed out"? On the DLT Viewer?
If you want to change the default log level in the library itself, you can set an environment variable.
e.g. export DLT_INITIAL_LOG_LEVEL="EXA1:CON1:5;EXA1:CON2:6"
Von: genivi-diagnostic-log-and-trace [mailto:genivi-diagnostic-log-and-trace-bounces at lists.genivi.org] Im Auftrag von TANG Ping (CM/ESW12-CN)
Gesendet: Donnerstag, 25. Mai 2017 02:54
An: genivi-diagnostic-log-and-trace at lists.genivi.org
Betreff: [genivi-dlt] How to change the dlt default level from dlt.conf
I want to change the default level of dlt-daemon by modifying dlt.conf. But I found it does not work in Version: 2.16.0.
e.g. I found dlt info messages are still printed out even if I change the LoggingLevel from 6 to 3.
Do you have any suggestion for this point?
My modification is as below:
# The logging console for internal logging of dlt-daemon (Default: 0) # 0 = log to stdout, 1 = log to syslog, 2 = log to file (see LoggingFilename) LoggingMode = 0
# The internal log level, up to which logs are written (Default: 6) # LOG_EMERG = 0, LOG_ALERT = 1, LOG_CRIT = 2, LOG_ERR = 3, LOG_WARNING = 4, LOG_ LoggingLevel = 3
Tel. +86 512 6767-3448
genivi-diagnostic-log-and-trace mailing list genivi-diagnostic-log-and-trace at lists.genivi.org
More information about the genivi-diagnostic-log-and-trace