First version of journal support.
[profile/ivi/dlt-daemon.git] / src / system / dlt-system.conf
1 # Configuration file of DLT system manager
2 #
3
4 ########################################################################
5 # General configuration                                                
6 ########################################################################
7
8 # The application Id used for the System manager (Default: SYS)
9 ApplicationId = SYS
10
11 ########################################################################
12 # Syslog Adapter configuration                                                
13 ########################################################################
14
15 # Enable the Syslog Adapter (Default: 0)
16 SyslogEnable = 0
17
18 # The Context Id of the syslog adapter (Default: SYSL)
19 SyslogContextId = SYSL
20
21 # The UDP port opened by DLT system mamager to receive system logs (Default: 47111)
22 SyslogPort = 47111
23
24 ########################################################################
25 # Systemd Journal Adapter configuration                                                
26 ########################################################################
27
28 # This feature is only available, when dlt is compiled with
29 # the option "WITH_SYSTEMD_JOURNAL"
30
31 # Enable the Systemd Journal Adapter (Default: 0)
32 JournalEnable = 0
33
34 # The Context Id of the journal adapter (Default: JOUR)
35 JournalContextId = JOUR
36
37
38 ########################################################################
39 # Filetransfer Manager                                                
40 ########################################################################
41
42 # Enable the Filetransfer (Default: 0)
43 FiletransferEnable = 0
44
45 # The Context Id of the filetransfer (Default: FILE)
46 FiletransferContextId = FILE
47
48 # Time in seconds after startup of dlt-system when first file is transfered (Default: 30)
49 FiletransferTimeStartup = 30
50
51 # Time to wait when transfered file is deleted and next file transfer starts (Default: 10)
52 # Time in seconds
53 FiletransferTimeDelay = 10
54
55 # Time in ms seconds to wait between two file transfer logs of a single file to DLT.  (Default: 10)
56 FiletransferTimeoutBetweenLogs = 10
57
58 # You can define multiple file transfer directories
59 # Define the directory to watch, whether to compress
60 # the file with zlib and the zlib compression level
61 # For parsing purposes, FiletransferCompressionLevel
62 # must be the last one of three values.
63 # For compressing and sending following subdirectories are used: .tocompress and .tosend
64 FiletransferDirectory = /var/dlt/ft1
65 FiletransferCompression = 1
66 FiletransferCompressionLevel = 5
67
68 # Second directory to watch
69 FiletransferDirectory = /var/dlt/ft2
70 FiletransferCompression = 0
71 FiletransferCompressionLevel = 5
72
73 # And so on...
74 FiletransferDirectory = /var/dlt/ft3
75 FiletransferCompression = 0
76 FiletransferCompressionLevel = 5
77
78
79 ########################################################################
80 # Log short files, especially from proc filesystem                                                
81 ########################################################################
82
83 # Enable the logging of files (Default: 0)
84 LogFileEnable = 0
85
86 # Log different files
87 # Mode: 0 = off, 1 = startup only, 2 = regular
88 # TimeDelay: If mode regular is set, time delay is the number of seconds for next sent
89
90 # Log the file /etc/sysrel
91 LogFileFilename = /etc/sysrel
92 LogFileMode = 1
93 LogFileTimeDelay = 3
94 LogFileContextId = VER
95
96 # Log the file /proc/version
97 LogFileFilename = /proc/version
98 LogFileMode = 1
99 LogFileTimeDelay = 3
100 LogFileContextId = VERK
101
102 # Log the file /proc/meminfo
103 # LogFileFilename = /proc/meminfo
104 # LogFileMode = 2
105 # LogFileTimeDelay = 5
106 # LogFileContextId = MEM
107
108 # Log the file /proc/cpuinfo
109 # LogFileFilename = /proc/cpuinfo
110 # LogFileMode = 2
111 # LogFileTimeDelay = 5
112 # LogFileContextId = CPU
113
114 # Log the file /proc/stat
115 LogFileFilename = /proc/stat
116 LogFileMode = 2
117 LogFileTimeDelay = 1
118 LogFileContextId = STAT
119
120 # Log the file /proc/modules
121 # LogFileFilename = /proc/modules
122 # LogFileMode = 2
123 # LogFileTimeDelay = 5
124 # LogFileContextId = MOD
125
126 # Log the file /proc/ioports
127 # LogFileFilename = /proc/ioports
128 # LogFileMode = 1
129 # LogFileTimeDelay = 5
130 # LogFileContextId = IOP
131
132 # Log the file /proc/iomem
133 # LogFileFilename = /proc/iomem
134 # LogFileMode = 1
135 # LogFileTimeDelay = 5
136 # LogFileContextId = IOM
137
138 ########################################################################
139 # Log Processes                                                
140 ########################################################################
141
142 # Enable the logging of processes (Default: 0)
143 LogProcessesEnable = 0
144
145 # The Context Id of the kernel version (Default: PROC)
146 LogProcessesContextId = PROC
147
148 # Log different processes
149 # Name: * = all process, X=alternative name (must correspind to /proc/X/cmdline
150 # Filename: the filename in the subdirectory /proc/processid/
151 # Mode: 0 = off, 1 = startup only, 2 = regular
152 # TimeDelay: If mode regular is set, time delay is the number of seconds for next sent
153
154 LogProcessName = *
155 LogProcessFilename = stat
156 LogProcessMode = 2
157 LogProcessTimeDelay = 5
158
159 # LogProcessName = dlt_viewer
160 # LogProcessFilename = stat
161 # LogProcessMode = 2
162 # LogProcessTimeDelay = 1
163