summaryrefslogtreecommitdiff
path: root/src/dbus
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2014-06-11 08:48:44 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2014-06-11 14:17:01 +0200
commitb9e2024a1c51f35a99d2fdf43eef73c8033fb68f (patch)
tree4b397aeade4724be44358f2c26c340f01296185a /src/dbus
parenteccb685c7402702b778810a4e82469a8419c06ae (diff)
downloadDLT-daemon-b9e2024a1c51f35a99d2fdf43eef73c8033fb68f.tar.gz
Enable dbus trace when adaptor starts up.
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/dbus')
-rw-r--r--src/dbus/dlt-dbus.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/dbus/dlt-dbus.c b/src/dbus/dlt-dbus.c
index 5cbba85..ce5505f 100644
--- a/src/dbus/dlt-dbus.c
+++ b/src/dbus/dlt-dbus.c
@@ -30,12 +30,6 @@
#include <time.h>
-#ifdef USE_EAVESDROP
- #define EAVESDROPPING_RULE "eavesdrop=true,"
-#else
- #define EAVESDROPPING_RULE ""
-#endif
-
DLT_DECLARE_CONTEXT(dbusLog);
DLT_DECLARE_CONTEXT(dbusContext);
@@ -109,7 +103,7 @@ int main (int argc, char *argv[])
DLT_REGISTER_APP (config.ApplicationId, "DBus Logging");
// register context
- DLT_REGISTER_CONTEXT(dbusContext, config.DBus.ContextId, "DBus Context for Logging");
+ DLT_REGISTER_CONTEXT_LL_TS(dbusContext, config.DBus.ContextId, "DBus Context for Logging",DLT_LOG_INFO,DLT_TRACE_STATUS_ON);
DLT_REGISTER_CONTEXT(dbusLog, "Log", "DBus Context for Logging Generic information");
// initialise error handler