.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "DLT-SYSTEM.CONF" "5" "" "" ""
.hy
.SH NAME
.PP
\f[B]dlt-system.conf\f[R] - DLT system process configuration file
.SH DESCRIPTION
.PP
The DLT system logging process is the central application, which logs
system information from the platform.
It provides the features filetransfer, syslog adapater, logging of any
kind of files and procfilesystem logger.
The individual features can be enabled and disabled in the configuration
file.
.PP
The configuration file dlt-system.conf allows to configure the different
runtime behaviour of dlt-system.
The configuration file is loaded during startup of dlt-system.
.PP
dlt-system loads by default the configuration file /etc/dlt-system.conf.
An alternative configuration file can be loaded with the option -c.
.SH GENERAL OPTIONS
.SS ApplicationId
.PP
The application Id used for the dlt-system process.
.IP
.nf
\f[C]
Default: SYS
\f[R]
.fi
.SH SHELL OPTIONS
.SS ShellEnable
.PP
Enable the Shell for command line injections.
Be careful when you enable this feature.
The user can send any kind of shell commands.
The commands are executed with the rights of the dlt-system process.
Dlt-system is started by default as user genivi.
.IP
.nf
\f[C]
Default: 0
\f[R]
.fi
.SH SYSLOG ADAPTER OPTIONS
.SS SyslogEnable
.PP
If this option is set to 1, the syslog adapter feature is enabled.
.IP
.nf
\f[C]
Default: 0
\f[R]
.fi
.SS SyslogContextId
.PP
This value defines context id of the syslog adapter.
.IP
.nf
\f[C]
Default: SYSL
\f[R]
.fi
.SS SyslogPort
.PP
This value defines the UDP port opened for receiving log messages from
syslog.
.IP
.nf
\f[C]
Default: 47111
\f[R]
.fi
.SH SYSTEMD JOURNAL ADAPTER OPTIONS
.SS JournalEnable
.PP
Enable the Systemd Journal Adapter.
This feature is only available, when dlt is compiled with the option
\[lq]WITH_SYSTEMD_JOURNAL\[rq].
Dlt-system is started by default as user genivi, see dlt-system.service
file.
The user genivi must be added to one of the groups `adm', `wheel' or
`systemd-journal' to have access to all journal entries.
.IP
.nf
\f[C]
Default: 0
\f[R]
.fi
.SS JournalContextId
.PP
The Context Id of the journal adapter.
.IP
.nf
\f[C]
Default: JOUR
\f[R]
.fi
.SS JournalCurrentBoot
.PP
Show only log entries of current boot and follow.
If JournalCurrentBoot and JournalFollow are not set all persistent
journal entries will be logged.
.IP
.nf
\f[C]
Default: 1
\f[R]
.fi
.SS JournalFollow
.PP
Show only the last 10 entries and follow.
.IP
.nf
\f[C]
Default: 0
\f[R]
.fi
.SS JournalMapLogLevels
.PP
Map journal log levels to DLT log levels.
.IP
.nf
\f[C]
- 0 Emergency DLT_LOG_FATAL
- 1 Alert DLT_LOG_FATAL
- 2 Critical DLT_LOG_FATAL
- 3 Error DLT_LOG_ERROR
- 4 Warning DLT_LOG_WARN
- 5 Notice DLT_LOG_INFO
- 6 Informational DLT_LOG_INFO
- 7 Debug DLT_LOG_DEBUG
Default: 1
\f[R]
.fi
.SH FILETRANSFER OPTIONS
.SS FiletransferEnable
.PP
Enable the Filetransfer feature.
0 = disabled, 1 = enabled
.IP
.nf
\f[C]
Default: 0
\f[R]
.fi
.SS FiletransferContextId
.PP
The Context Id of the filetransfer.
.IP
.nf
\f[C]
Default: FILE
\f[R]
.fi
.SS FiletransferTimeStartup
.PP
Time in seconds after startup of dlt-system when first file is
transfered.
.IP
.nf
\f[C]
Default: 0
\f[R]
.fi
.SS FiletransferTimeDelay
.PP
Time in seconds to wait between deletion of transferred file and start
of next file transfer.
.IP
.nf
\f[C]
Default: 10
\f[R]
.fi
.SS FiletransferTimeoutBetweenLogs
.PP
Time in seconds to wait between two file transfer logs of a single file
to DLT.
.IP
.nf
\f[C]
Default: 10
\f[R]
.fi
.SS FiletransferDirectory
.PP
You can define multiple file transfer directories.
Define the directory to watch, whether to compress the file with zlib
and the zlib compression level.
For parsing purposes, FiletransferCompressionLevel must be the last one
of three values.
.SS FiletransferCompression
.PP
See FiletransferDirectory option for explanation.
.IP
.nf
\f[C]
Default: 0
\f[R]
.fi
.SS FiletransferCompressionLevel
.PP
See FiletransferDirectory option for explanation.
.IP
.nf
\f[C]
Default: 5
\f[R]
.fi
.SH LOG FILES OPTIONS
.SS LogFileEnable
.PP
If this option is set to 1, the log files feature is enabled.
.IP
.nf
\f[C]
Default: 0
\f[R]
.fi
.SS LogFileFilename
.PP
This value sets the full filename path to the file, which should be
logged.
.SS LogFileMode
.PP
This value defines in which operation mode the file is logged.
In mode 1 the file is only logged once when dlt-system is started.
In mode 2 the file is logged regularly every time LogFileTimeDelay timer
elapses.
0 = off, 1 = startup only, 2 = regular
.SS LogFileTimeDelay
.PP
This value is used in mode 3 and defines the number of seconds, after
which the defined file is logged.
.SS LogFileContextId
.PP
This value defines the context id, which is used for logging the file.
.SH LOG PROCESSES OPTIONS
.SS LogProcessesEnable
.PP
Enable the logging of processes.
0 = disabled, 1 = enabled
.IP
.nf
\f[C]
Default: 0
\f[R]
.fi
.SS LogProcessesContextId
.PP
This value defines the context id, which is used for logging processes
files.
.IP
.nf
\f[C]
Default: PROC
\f[R]
.fi
.SS LogProcessName
.PP
This value defines the name of the process to be logged, as used in the
file stat of each process.
If the value is defined as *, all processes are logged.
.SS LogProcessFilename
.PP
This value sets the relative filename path to the file, which should be
logged.
The path is relative to the procfilesystem folder of the process.
.SS LogProcessMode
.PP
This value the defines in which operation mode this process file is
logged.
In mode 1 the file is only logged once when dlt-system is started.
In mode 2 the file is logged regularly every time LogFileTimeDelay timer
elapses.
0 = off, 1 = startup only, 2 = regular.
.IP
.nf
\f[C]
Default: 0
\f[R]
.fi
.SS LogProcessTimeDelay
.PP
This value is used in mode 3 and defines the number of seconds, after
which the defined procfilesystem file is logged.
.IP
.nf
\f[C]
Default: 0
\f[R]
.fi
.SH AUTHOR
.PP
Alexander Wenzel (alexander.aw.wenzel (at) bmw (dot) de)
.SH COPYRIGHT
.PP
Copyright (C) 2015 BMW AG.
License MPL-2.0: Mozilla Public License version 2.0
.
.SH BUGS
.PP
See Github issue:
.SH SEE ALSO
.PP
\f[B]dlt-system(1)\f[R], \f[B]dlt-daemon(1)\f[R]