[genivi-dlt] Regarding dlt_viewer -not getting syslogs in dlt-viewer

Lipka, Christoph (ADITJ/SWG) clipka at jp.adit-jv.com
Thu Feb 2 00:55:00 EST 2017


Hi Amber,

Actually, you try to reconfigure the connection between DLT Daemon and DLT Viewer. This does not work in this way. 
The DLT Daemon opens a TCP connection by default on port 3490. The Viewer has to connect to the DLT Daemon. It is not possible to connect the Viewer directly to the dlt-system application.
The dlt-system application as such is a dlt user application, like dlt-example-user.

The message flow is like this:

<syslog()> --?--> <dlt-system> ----> <dlt-daemon> ----> <dlt-viewer>

I tried to setup the same on a Ubuntu 12.04, but nothing is received at dlt-system. I am actually unsure what need to be done here. There is a bug in related code as well. See:  https://at.projects.genivi.org/jira/projects/DLT/issues/DLT-1?filter=allopenissues  

Looks like you have the same problem, that no message reaches dlt-system...

Maybe someone, who uses this part can give some more hints how to actually receive syslog information in dlt-system.

Best regards

Christoph Lipka
Software Group (ADITJ/SWG)

Tel. +81-(0)566 61-5124


-----Original Message-----
From: genivi-diagnostic-log-and-trace [mailto:genivi-diagnostic-log-and-trace-bounces at lists.genivi.org] On Behalf Of amber bhardwaj
Sent: Thursday, February 02, 2017 1:49 PM
To: genivi-diagnostic-log-and-trace at lists.genivi.org
Subject: [genivi-dlt] Regarding dlt_viewer -not getting syslogs in dlt-viewer

Hi All,

I downloaded the code of dlt-daemon from the git (latest version). I have successfully build that code and able to run the example code.

But i am facing issues with dlt_viewer while fetching the syslogs.

I have enable the syslogs in dlt-system.conf file

########################################################################
# Syslog Adapter configuration
########################################################################

# Enable the Syslog Adapter (Default: 0) SyslogEnable = 1

# The Context Id of the syslog adapter (Default: SYSL) SyslogContextId = SYSL

# The UDP port opened by DLT system mamager to receive system logs
(Default: 47111)
SyslogPort = 47111

I have changed the port from 3490 to 47111 and connection from tcp to udp to track the syslogs in dlt_viewer but i am not getting any log with the context id SYSL. Is there any other configuration required to fetch the logs. Please suggest me.

Best Regards,
Amber Bhardwaj
_______________________________________________
genivi-diagnostic-log-and-trace mailing list genivi-diagnostic-log-and-trace at lists.genivi.org
http://lists.genivi.org/mailman/listinfo/genivi-diagnostic-log-and-trace


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