[genivi-dlt] Switch off Log and File transfer

Prathap Chandran prathapachandran at acsiatech.com
Sat Aug 5 01:25:45 EDT 2017


Hello Manikandan,

Thank you so much for a detailed explanation. I tried all those options
yesterday and surely the option that you mentioned is more suitable for us.

Thanks & regards,
Prathap

On Fri, Aug 4, 2017 at 1:53 PM, Manikandan Chockalingam (RBEI/ECF3) <
Manikandan.Chockalingam at in.bosch.com> wrote:

> Hello Prathap,
>
>
>
> The option what we have explained is not for display side alone. The
> configured log level in dlt-viewer will be sent to dlt-daemon running in
> target and it will be sent to the dlt user library as well. So the logs
> will be filtered out at the user application level itself.
>
>
>
> The option you have mentioned by changing the ContextLogLevel in dlt.conf
> is like a static configuration and whenever you change it, you need to
> restart dlt-daemon. But the option we have explained is dynamic log level
> change and you don’t need to restart the dlt-daemon.
>
>
>
> But if you want to trigger this log level change through another
> application, then you can use dlt-control but you should uncheck “send
> default log level ” option and “auto reconnect timeout” in dlt-viewer as
> Christoph mentioned[since this will override the log level you are
> configuring through dlt-control].
>
>
>
> Best regards,
>
>
> *manikandan chockalingam *
> Tel. 080 6617 4452
>
> *From:* Prathap Chandran [mailto:prathapachandran at acsiatech.com]
> *Sent:* Thursday, August 03, 2017 7:41 PM
> *To:* Lipka Christoph (ADITG/SWG) <CLipka at de.adit-jv.com>
> *Cc:* Manikandan Chockalingam (RBEI/ECF3) <Manikandan.Chockalingam at in.
> bosch.com>; genivi-diagnostic-log-and-trace at lists.genivi.org
>
> *Subject:* Re: [genivi-dlt] Switch off Log and File transfer
>
>
>
> Hi Christoph & Mani,
>
> The issue was due to the improper settings of property ContextLogLevel in
> the dlt.config and its value was 4 by default. Now when I start dlt-control
> application, always the log level was set to 4 on registration of new
> context by dlt-control. So the log will transfer always. Now I set this
> property ContextLogLevel to 0 (OFF) and restarted dlt-daemon and the
> problem is resolved.
>
>
>
> It is the first time that I am using this component. Thank you very much
> for your timely help.
>
> Thanks & regards
>
> Prathap
>
>
>
> On Wed, Aug 2, 2017 at 8:17 PM, Lipka, Christoph (ADITG/ESA) <
> clipka at de.adit-jv.com> wrote:
>
> Hi Prathap,
>
>
>
> What Mani and me wanted to explain is that the DLT Viewer by default sends
> log level updates (default: INFO). You have to configure the DLT Viewer to
> not send these updates. It’s likely that the DLT Viewer overrides the
> configuration you made using the dlt-control application.
>
>
>
> Regards,
>
> Christoph
>
>
>
> *Von:* Prathap Chandran [mailto:prathapachandran at acsiatech.com]
> *Gesendet:* Mittwoch, 2. August 2017 16:00
> *An:* Manikandan Chockalingam (RBEI/ECF3)
> *Cc:* Lipka, Christoph (ADITG/ESA); genivi-diagnostic-log-and-
> trace at lists.genivi.org
> *Betreff:* Re: [genivi-dlt] Switch off Log and File transfer
>
>
>
> Thank you very much for the reply.
>
> But the option that you are explaining is just in the display side. I want
> to switch off the logs in the dlt-daemon itself so that when I install the
> daemon in an android device installed in a vehicle, I need to control it's
> on/off behavior using another Android application. When I off the log, the
> daemon needs to stop log transfer.
>
> Regards
>
> Prathap
>
>
>
>
>
> On Wed, Aug 2, 2017 at 2:23 PM, Manikandan Chockalingam (RBEI/ECF3) <
> Manikandan.Chockalingam at in.bosch.com> wrote:
>
> Hi Prathap,
>
> If you are using dlt-viewer, then you can use edit ECU option and set the
> default log level as "off" which will turn off the logs of all contexts
> which uses default log level.
>
> Best regards,
> Manikandan Chockalingam
>
>
>
> -----Original Message-----
> From: genivi-diagnostic-log-and-trace [mailto:genivi-diagnostic-log-
> and-trace-bounces at lists.genivi.org] On Behalf Of Lipka, Christoph
> (ADITG/ESA)
> Sent: Wednesday, August 02, 2017 12:03 PM
> To: Prathap Chandran <prathapachandran at acsiatech.com>;
> genivi-diagnostic-log-and-trace at lists.genivi.org
> Subject: Re: [genivi-dlt] Switch off Log and File transfer
>
> Hi Prathap,
>
> When using dlt-control, are you running DLT Viewer as well? If so, make
> sure you unchecked "Send Default Log Level ..." in the "ECU" tab and
> "auto-reconnect" in the "IP" tab of the ECU Configuration dialog.
>
> Best regards
>
> Christoph Lipka
> Engineering System & Architecture (ADITG/ESA)
>
> Tel. +49 5121 49 6945
>
>
> -----Ursprüngliche Nachricht-----
> Von: genivi-diagnostic-log-and-trace [mailto:genivi-diagnostic-log-
> and-trace-bounces at lists.genivi.org] Im Auftrag von Prathap Chandran
> Gesendet: Mittwoch, 2. August 2017 08:24
> An: genivi-diagnostic-log-and-trace at lists.genivi.org
> Betreff: [genivi-dlt] Switch off Log and File transfer
>
> Hi All,
>
> I am actually doing a feasibility of using dlt-daemon for my project. I
> have compiled and run the project successfully and log transfer is working
> fine and now the logs and transferred files can view using dlt-viewer.
>
> One of the main requirement of my project is to completely switch off the
> log transfer and file transfer behaviour via dlt-daemon using some control
> signals. When I search for it, found only one option for it using the
> dlt-control SW component of DLT.
>
> dlt-control -l 0 -a LOG -c TEST 192.168.3.38
>
> But even after the above operation, when sending messages using the
> example tool dlt-example-user, the logs are still transferring.
>
> So could you please suggest a solution for completely switch off the logs
> and file transfer without stopping dlt-daemon?
>
> Thanks & regards
> Prathap
> _______________________________________________
> 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
> _______________________________________________
> 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