Changes after review of journal implementation.
[profile/ivi/dlt-daemon.git] / src / system / dlt-system.conf
index 46e9598..bc121f4 100644 (file)
@@ -28,29 +28,35 @@ SyslogPort = 47111
 # This feature is only available, when dlt is compiled with
 # the option "WITH_SYSTEMD_JOURNAL"
 
+# 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.
+
 # Enable the Systemd Journal Adapter (Default: 0)
 JournalEnable = 0
 
 # The Context Id of the journal adapter (Default: JOUR)
 JournalContextId = JOUR
 
-# Show only log entries of current boot (Default: 1)
+# Show only log entries of current boot and follow (Default: 1)
+# if not JournalCurrentBoot and not JournalFollow is set all
+# persistent journal entries will be logged
 JournalCurrentBoot = 1
 
 # Show only the last 10 entries and follow (Default: 0)
 JournalFollow = 0
 
-# Map the log levels (Default: 0)
+# Map the log levels (Default: 1)
 # Mapping journal log levels to DLT log levels
 # 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_WARN
+# 5       Notice               DLT_LOG_INFO
 # 6       Informational DLT_LOG_INFO
 # 7       Debug                DLT_LOG_DEBUG
-JournalMapLogLevels = 0
+JournalMapLogLevels = 1
 
 ########################################################################
 # Filetransfer Manager