[genivi-dlt] dlt-daemon logs redirecting to file

Lipka, Christoph (ADITJ/SWG) clipka at jp.adit-jv.com
Mon Feb 29 20:00:06 EST 2016


Hi,

With enabling LoggingMode = 2 dlt-daemon will store only its internal log messages to that file, but not logs coming from applications. To store logs from applications into one file or a set of log files you have to either use Offline Trace or Offline Logstorage:

########################################################################
# Offline Trace memory                                                 #
########################################################################

# Store DLT messages to local directory, if not set offline Trace is off (Default: off) # OfflineTraceDirectory = /tmp

##############################################################################
# Offline logstorage                                                         #
##############################################################################
# Store DLT log messages, if not set offline logstorage is off (Default: off) # Maximum devices to be used as offline logstorage devices # OfflineLogstorageMaxDevices = 1

# Path to store DLT offline log storage messages (Default: off) # OfflineLogstorageDirPath = /opt

Both options are disabled by default.

Best regards

Christoph Lipka
Software Group (ADITJ/SWG)

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


-----Original Message-----
From: genivi-diagnostic-log-and-trace-bounces at lists.genivi.org [mailto:genivi-diagnostic-log-and-trace-bounces at lists.genivi.org] On Behalf Of Vignesh Raman
Sent: Tuesday, March 01, 2016 12:26 AM
To: genivi-diagnostic-log-and-trace at lists.genivi.org
Subject: [genivi-dlt] dlt-daemon logs redirecting to file

Hi,

I have a question regarding dlt-daemon logs. I tried redirecting the dlt-daemon logs to a file by changing the below in dlt.conf file,

LoggingMode = 2 (2 = log to file )
ContextLogLevel = 6 (DLT_LOG_VERBOSE)

But when I run dlt-daemon I do not see the DLT_LOG_INFO logs which are in the test application. Do I need to enable anything else to see the dlt logs ? Thanks.

--
Regards,
Vignesh.
_______________________________________________
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