[genivi-dlt] Questions regarding non-verbose logging mode

Steen Larsen steen at cloudbastion.com
Thu Sep 27 09:18:52 EDT 2018

Hi Guru,

Are you really sure you want to use non-verbose mode DLT logging? IMHO this
only makes sense if you have to log via a very slow connection such as a
9600 bps serial cable or if you have very tight constraints regarding
storing the log output in an extremely small memory.

I think that for most use cases today verbose logging makes more sense.
Verbose logging even makes sense on slow connections if you use very short
strings instead of long log messages. For example, instead of log("System
software version X") you log( "Ver X"), "System startup phase 1"-> "P1",

My experience with DLT non-verbose mode logging from several projects is
the following :

1) You will waste time making a proper parser to extract the DLT messages
from your source code and during the project this will fail in unexpected
2) You will waste time ensuring that this parser is run as part of your
build process to produce the correct XML file
3) Users on your project now have to ensure they are using the correct XML
file for the software version every time they debug.
4) Sometimes debugging will be slowed down beause people see weird things
when forget to update their XML file.

Summary : I recommend you only use verbose mode.

Good luck with your project!

Best regards


Steen Larsen, Managing Director and Principal Consultant
Cloud Bastion Sarl, France
E: steen at cloudbastion.com
P: +33 6 0937 0879

On Fri, Sep 21, 2018 at 11:31 AM, Guru Kn <gurubits16 at gmail.com> wrote:

> Dear All,
> I have few questions about non-verbose mode of logging.
> I have gone through the user manual of dlt-daemon,(
> https://github.com/GENIVI/dlt-daemon/blob/master/doc/dlt_user_manual.txt)
> I have executed the examples from the example folder under dlt-daemon(
> https://github.com/GENIVI/dlt-daemon/tree/master/src/examples) of dlt but
> could not understand its working.
>    1. Is there any additional documentation on non-verbose mode of logging,
> explaining the xml format with explanation for each node.
>    2. How the non verbose XML description file works ?
>    3. How to create the XML file. Are there any scripts for generating ?
> Thanks in advance
> Guruprasad KN
> _______________________________________________
> genivi-diagnostic-log-and-trace mailing list
> genivi-diagnostic-log-and-trace at lists.genivi.org
> https://lists.genivi.org/mailman/listinfo/genivi-diagnostic-log-and-trace

More information about the genivi-diagnostic-log-and-trace mailing list