Make daemon buffer size configurable
[profile/ivi/dlt-daemon.git] / src / daemon / dlt.conf
1 # Configuration file of DLT daemon
2 #
3 # Configurations made here will overwrite settings by command line
4
5 ########################################################################
6 # General configuration                                                #
7 ########################################################################
8
9 # Start daemon in dubug mode, so that all internal debug information is printed out on the console
10 # Verbose = 1
11
12 # Daemonize DLT daemon, if it is started as daemon
13 # Daemonize = 1
14
15 # Send DLT messages with serial header
16 # SendSerialHeader = 1
17
18 # Send automatic get log info response during context registration
19 SendContextRegistration = 1
20
21 # Send automatic time packets every second if client is connected (Default: 0)
22 # SendMessageTime = 0
23
24 # Set ECU ID (Default: ECU1)
25 ECUId = ECU1
26
27 # Size of shared memory (Default: 100000)
28 SharedMemorySize = 100000
29
30 # Directory where to store the persistant configuration (Default: /tmp)
31 # PersistanceStoragePath = /tmp
32
33 # The logging console for internal logging of dlt-daemon (Default: 0)
34 # 0 = log to stdout, 1 = log to syslog, 2 = log to file (see LoggingFilename)
35 LoggingMode = 0
36
37 # The internal log level, up to which logs are written (Default: 6)
38 # LOG_EMERG = 0, LOG_ALERT = 1, LOG_CRIT = 2, LOG_ERR = 3, LOG_WARNING = 4, LOG_NOTICE = 5, LOG_INFO = 6, LOG_DEBUG = 7
39 LoggingLevel = 6
40
41 # The logging filename if internal logging mode is log to file (Default: /tmp/dlt.log)
42 LoggingFilename = /tmp/dlt.log
43
44 # Timeout on send to client (sec)                                                                                      
45 TimeOutOnSend = 4
46
47 # The minimum size of the Ringbuffer, used for storing temporary DLT messages, until client is connected (Default: 500000)
48 RingbufferMinSize = 500000
49
50 # The max size of the Ringbuffer, used for storing temporary DLT messages, until client is connected (Default: 10000000)
51 RingbufferMaxSize = 10000000
52
53 # The step size the Ringbuffer is increased, used for storing temporary DLT messages, until client is connected (Default: 500000)
54 RingbufferStepSize = 500000
55
56 ########################################################################
57 # Offline Trace memory                                                 #
58 ########################################################################
59
60 # Store DLT messages to local directory, if not set offline Trace is off (Default: off)
61 # OfflineTraceDirectory = /tmp
62
63 # Maximum size in bytes of one trace file (Default: 1000000)
64 # OfflineTraceFileSize = 1000000
65
66 # Maximum size of all trace files (Default: 4000000)
67 # OfflineTraceMaxSize = 4000000
68
69 ########################################################################
70 # Local console output configuration                                   #
71 ########################################################################
72
73 # Print DLT messages; payload as ASCII
74 # PrintASCII = 1
75
76 # Print DLT messages; payload as hex
77 # PrintHex = 1
78
79 # Print DLT messages; only headers
80 # PrintHeadersOnly = 1
81
82
83 ########################################################################
84 # Client Serial port configuration                                     #
85 ########################################################################
86
87 # Additional support for serial device
88 # If a device name is set serial port is enabled.
89 # RS232DeviceName = /dev/ttyS0
90
91 # Serial device baudrate (Default: 115200)
92 # RS232Baudrate = 115200
93
94 # Sync to serial header on serial connection
95 # RS232SyncSerialHeader = 1
96
97 ########################################################################
98 # TCP Serial port configuration                                        #
99 ########################################################################
100
101 # Sync to serial header on all TCP connections
102 # TCPSyncSerialHeader = 1
103
104 ########################################################################
105 # ECU Software version info                                            #
106 ########################################################################
107
108 # Send periodic get ecu version info (Default: 0)
109 # SendECUSoftwareVersion = 0
110
111 # Absolute path to file storing version info - otherwise DLT version is used
112 # PathToECUSoftwareVersion = <absolute-path-to-file>
113
114 ########################################################################
115 # Timezone info                                                        #
116 ########################################################################
117
118 # Send periodic timezone info (Default: 0)
119 # SendTimezone = 0