genivi-diagnostic-log-and-trace@lists.genivi.org

Diagnostic Log and Trace (DLT) Discussion List

View all threads

Redirecting Systemd Journal Content to dlt-system

PS
Pritesh Soni
Thu, Apr 23, 2020 8:11 AM

Hi all,

I have few queries regarding redirecting journal content to dlt-system
could anyone please help in sorting it out with helpful suggestions.

  1. Do i need to change JournalEnable = 0(which is by default) to 1 in
    dlt-system.conf file even If i am compiling dlt with cmake build flag
    "-DWITH_SYSTEMD_JOURNAL = ON" ? Means do i need to do both above things ?

  2. Is there any way to test or cross check if whether are we getting
    systemd journal content in dlt-system or not rather than using dlt-viewer
    in client ?

Thanks in Advance,
Pritesh.
BSP Engineer @ APTIV(Formerly known as DELPHI).

Hi all, I have few queries regarding redirecting journal content to dlt-system could anyone please help in sorting it out with helpful suggestions. 1) Do i need to change JournalEnable = 0(which is by default) to 1 in dlt-system.conf file even If i am compiling dlt with cmake build flag "-DWITH_SYSTEMD_JOURNAL = ON" ? Means do i need to do both above things ? 2) Is there any way to test or cross check if whether are we getting systemd journal content in dlt-system or not rather than using dlt-viewer in client ? Thanks in Advance, Pritesh. BSP Engineer @ APTIV(Formerly known as DELPHI).
SS
Sugiura, Saya (ADITJ/SWG)
Mon, May 18, 2020 6:25 AM

Hello Pritesh,

I'm very sorry for my late response.
Please find my comment inline with [SS].

Best regards,
Saya Sugiura


Advanced Driver Information Technology
Software Group
杉浦 さや(Saya Sugiura)
TEL: +81-(0)566-61-5124 / 551-43614(Extension)
E-MAIL: ssugiura@jp.adit-jv.com

-----Original Message-----
From: genivi-diagnostic-log-and-trace genivi-diagnostic-log-and-trace-bounces@lists.genivi.org On Behalf Of Pritesh Soni
Sent: Thursday, April 23, 2020 5:12 PM
To: genivi-diagnostic-log-and-trace@lists.genivi.org
Subject: [genivi-dlt] Redirecting Systemd Journal Content to dlt-system

Hi all,

I have few queries regarding redirecting journal content to dlt-system could anyone please help in sorting it out with helpful suggestions.

  1. Do i need to change JournalEnable = 0(which is by default) to 1 in dlt-system.conf file even If i am compiling dlt with cmake build flag "-DWITH_SYSTEMD_JOURNAL = ON" ? Means do i need to do both above things ?
    -> [SS] Yes, you need both changes in order to enable journal logging in DLT.

  2. Is there any way to test or cross check if whether are we getting systemd journal content in dlt-system or not rather than using dlt-viewer in client ?
    -> [SS] There is a test script called "start_systemd_journal_test.sh" under tests directory, so you can refer to that as a starting point. On the other hand, it would be better to use DLT client e.g. DLT Viewer or dlt-receive command line tool to verify the output.

Thanks in Advance,
Pritesh.
BSP Engineer @ APTIV(Formerly known as DELPHI).


genivi-diagnostic-log-and-trace mailing list genivi-diagnostic-log-and-trace@lists.genivi.org
http://lists.genivi.org/mailman/listinfo/genivi-diagnostic-log-and-trace_lists.genivi.org

Hello Pritesh, I'm very sorry for my late response. Please find my comment inline with [SS]. Best regards, Saya Sugiura ---------------------------------------- Advanced Driver Information Technology Software Group 杉浦 さや(Saya Sugiura) TEL: +81-(0)566-61-5124 / 551-43614(Extension) E-MAIL: ssugiura@jp.adit-jv.com -----Original Message----- From: genivi-diagnostic-log-and-trace <genivi-diagnostic-log-and-trace-bounces@lists.genivi.org> On Behalf Of Pritesh Soni Sent: Thursday, April 23, 2020 5:12 PM To: genivi-diagnostic-log-and-trace@lists.genivi.org Subject: [genivi-dlt] Redirecting Systemd Journal Content to dlt-system Hi all, I have few queries regarding redirecting journal content to dlt-system could anyone please help in sorting it out with helpful suggestions. 1) Do i need to change JournalEnable = 0(which is by default) to 1 in dlt-system.conf file even If i am compiling dlt with cmake build flag "-DWITH_SYSTEMD_JOURNAL = ON" ? Means do i need to do both above things ? -> [SS] Yes, you need both changes in order to enable journal logging in DLT. 2) Is there any way to test or cross check if whether are we getting systemd journal content in dlt-system or not rather than using dlt-viewer in client ? -> [SS] There is a test script called "start_systemd_journal_test.sh" under tests directory, so you can refer to that as a starting point. On the other hand, it would be better to use DLT client e.g. DLT Viewer or dlt-receive command line tool to verify the output. Thanks in Advance, Pritesh. BSP Engineer @ APTIV(Formerly known as DELPHI). _______________________________________________ genivi-diagnostic-log-and-trace mailing list genivi-diagnostic-log-and-trace@lists.genivi.org http://lists.genivi.org/mailman/listinfo/genivi-diagnostic-log-and-trace_lists.genivi.org