[genivi-dlt] Persistent log-levels
Lipka, Christoph (ADITJ/SWG)
clipka at jp.adit-jv.com
Sun Nov 27 20:04:29 EST 2016
There is a possibility to store a runtime configuration which is used by the DLT Daemon on startup. When Viewer is connected to DLT Daemon, just do a right click on the ECU entry inside the project tree and click "Store Config" after you adapted the log levels to your needs.
In dlt.conf, you can configure where this runtime configuration is stored:
# Directory where to store the persistant configuration (Default: /tmp)
PersistanceStoragePath = /your/persistent/writable/location
After storing this configuration, you should find two configuration files containing your desired configuration:
Please let me know, if this meets your needs. If you have any questions, please let me know.
Software Group (ADITJ/SWG)
Tel. +81-(0)566 61-5124
From: genivi-diagnostic-log-and-trace [mailto:genivi-diagnostic-log-and-trace-bounces at mailman1.genivi.org] On Behalf Of Dominik Holland
Sent: Friday, November 25, 2016 11:04 PM
To: genivi-diagnostic-log-and-trace at mailman1.genivi.org
Subject: [genivi-dlt] Persistent log-levels
i'm wondering whether something like persistent logging rules exist in DLT ?
I'm thinking about the following use-case:
An OEM runs DLT in one of it's production systems. There is a bug in the system which only occurs from time to time on some of the systems and the problem couldn't be determined with the normal logging capabilities.
For this it would be great if a dlt-viewer could be connected to the system and changing the log-level of some specific sub-systems to show more verbose logging messages.
This is already possible with the current state, but once the system is rebooted, the default log-levels are setup again and it wouldn't be possible to watch the problem over several days/weeks.
Isn't this a usecase DLT should be capable of ? In the end i guess every OEM develops their own custom system on top for generating error reports, but wouldn't it make sense to solve this once and for all in DLT ?
If DLT already support this by a plugin or a hidden setting, i'm more than happy if someone could give me a pointer.
SENIOR SOFTWARE ENGINEER
Balanstr. 55, 81541 Munich, Germany
+49 (0)171 760 25 96
dominik.holland at pelagicore.com
genivi-diagnostic-log-and-trace mailing list genivi-diagnostic-log-and-trace at mailman1.genivi.org
More information about the genivi-diagnostic-log-and-trace