summaryrefslogtreecommitdiff
path: root/src/system/dlt-system.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/system/dlt-system.conf')
-rw-r--r--src/system/dlt-system.conf49
1 files changed, 31 insertions, 18 deletions
diff --git a/src/system/dlt-system.conf b/src/system/dlt-system.conf
index 2ed14cb..cc8dc75 100644
--- a/src/system/dlt-system.conf
+++ b/src/system/dlt-system.conf
@@ -26,41 +26,54 @@ SyslogPort = 47111
########################################################################
# Enable the Filetransfer (Default: 0)
-FiletransferEnable = 0
-
-# Enable the file transfer compression with zlib
-# You can enable or disable it for FiletransferDirectory 1 and 2
-# separately.
-FiletransferCompression1 = 1
-FiletransferCompression2 = 0
-FiletransferCompressionLevel = 5
-
-# Directory which contains files to be transfered over DLT (Default: /tmp/filetransfer)
-# Files are deleted after Filetransfer is finished and after TimeDelay expired
-FiletransferDirectory1 = /tmp/filetransfer
-FiletransferDirectory2 = /tmp/filetransfer2
+FiletransferEnable = 1
# The Context Id of the filetransfer (Default: FILE)
FiletransferContextId = FILE
# Time after startup of dlt-system when first file is transfered (Default: 30)
# Time in seconds
-FiletransferTimeStartup = 10
+FiletransferTimeStartup = 30
# Time to wait when transfered file is deleted and next file transfer starts (Default: 10)
# Time in seconds
-FiletransferTimeDelay = 3
+FiletransferTimeDelay = 10
# Time to wait between two file transfer logs of a single file to DLT. (Default: 10)
# Time in ms seconds
FiletransferTimeoutBetweenLogs = 10
+# Temporary directory to use.
+# File transfer will move a file to this directory
+# while it is being compressed and sent
+FiletransferTempDir = /tmp
+
+# 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.
+FiletransferDirectory = /var/dlt/ft1
+FiletransferCompression = 1
+FiletransferCompressionLevel = 5
+
+# Second directory to watch
+FiletransferDirectory = /var/dlt/ft2
+FiletransferCompression = 0
+FiletransferCompressionLevel = 5
+
+# And so on...
+FiletransferDirectory = /var/dlt/ft3
+FiletransferCompression = 0
+FiletransferCompressionLevel = 5
+
+
########################################################################
-# Log short files, expecially from proc filesystem
+# Log short files, especially from proc filesystem
########################################################################
# Enable the logging of files (Default: 0)
-LogFileEnable = 0
+LogFileEnable = 1
# Log different files
# Mode: 0 = off, 1 = startup only, 2 = regular
@@ -119,7 +132,7 @@ LogFileContextId = STAT
########################################################################
# Enable the logging of processes (Default: 0)
-LogProcessesEnable = 0
+LogProcessesEnable = 1
# The Context Id of the kernel version (Default: PROC)
LogProcessesContextId = PROC