summaryrefslogtreecommitdiff
path: root/src/daemon/dlt.conf
diff options
context:
space:
mode:
authorStefan Vacek <stefan.vacek@intel.com>2015-12-02 09:24:52 +0100
committerLutz Helwing <lutz_helwing@mentor.com>2015-12-09 16:02:28 +0100
commit135e75439eff9cb7171d8b5bcf2ff6a27d0bf132 (patch)
tree25c167511d1646328217b8bd9e47748c6c6f1c24 /src/daemon/dlt.conf
parent4251a7db0b2a576316a2a5435b72a709fd6101b0 (diff)
downloadDLT-daemon-135e75439eff9cb7171d8b5bcf2ff6a27d0bf132.tar.gz
Set default log-levels in dlt.conf
- feature: allow to define a default-log-level in dlt.conf (see dlt.conf for documentation) - bugfix: make dlt_unlock_mutex not inline to fix linkage - bugfix: initial log-level was not set correctly when no dlt-daemon was running Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
Diffstat (limited to 'src/daemon/dlt.conf')
-rw-r--r--src/daemon/dlt.conf14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/daemon/dlt.conf b/src/daemon/dlt.conf
index aab9c7d..376a94f 100644
--- a/src/daemon/dlt.conf
+++ b/src/daemon/dlt.conf
@@ -6,7 +6,7 @@
# General configuration #
########################################################################
-# Start daemon in dubug mode, so that all internal debug information is printed out on the console
+# Start daemon in debug mode, so that all internal debug information is printed out on the console
# Verbose = 1
# Daemonize DLT daemon, if it is started as daemon
@@ -56,6 +56,18 @@ RingbufferMaxSize = 10000000
# The step size the Ringbuffer is increased, used for storing temporary DLT messages, until client is connected (Default: 500000)
RingbufferStepSize = 500000
+# Initial log-level that is sent when an application registers (Default: 4)
+# DLT_LOG_OFF = 0, DLT_LOG_FATAL = 1, DLT_LOG_ERROR = 2, DLT_LOG_WARN = 3, DLT_LOG_INFO = 4, DLT_LOG_DEBUG = 5, DLT_LOG_VERBOSE = 6
+# ContextLogLevel = 4
+
+# Initial trace-status that is sent when an application registers (Default: 0)
+# DLT_TRACE_STATUS_OFF = 0, DLT_TRACE_STATUS_ON = 1
+# ContextTraceStatus = 0
+
+# Force log level and trace status of context to not exceed "ContextLogLevel" and "ContextTraceStatus" (Default: 0 = OFF)
+# If set to 1 (ON) whenever a context registers or changes the log-level it has to be lower or equal to ContextLogLevel
+# ForceContextLogLevelAndTraceStatus = 1
+
########################################################################
# Control Application #
########################################################################