aboutsummaryrefslogtreecommitdiff
path: root/src/DBusMethod.h
diff options
context:
space:
mode:
authorPaul Nettle <nettle.paul@gmail.com>2017-09-03 08:15:12 -0500
committerPaul Nettle <nettle.paul@gmail.com>2017-09-03 08:15:12 -0500
commit23e46d2de44a3d49063e852a38b020e7407a78bc (patch)
tree7eca15bc1e93dc47d828dc9cef72f66515d287c5 /src/DBusMethod.h
parentCleaned up the logging a bit, improved server termination status returned fro... (diff)
downloadgobbledegook-23e46d2de44a3d49063e852a38b020e7407a78bc.tar.gz
gobbledegook-23e46d2de44a3d49063e852a38b020e7407a78bc.tar.bz2
gobbledegook-23e46d2de44a3d49063e852a38b020e7407a78bc.zip
The GGK server names are no longer in Globals.h but are now configured by ggkStart() allowing an application to change them based on configuration rather than compilation. Power-off-disconnect errors hacked out of existence. A few log lines that were set to trace converted to debug log levels to reduce logspam.
Diffstat (limited to 'src/DBusMethod.h')
-rw-r--r--src/DBusMethod.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DBusMethod.h b/src/DBusMethod.h
index e63b84b..f081f7b 100644
--- a/src/DBusMethod.h
+++ b/src/DBusMethod.h
@@ -45,6 +45,7 @@
#include "Globals.h"
#include "DBusObjectPath.h"
#include "Logger.h"
+#include "Server.h"
namespace ggk {
@@ -104,7 +105,7 @@ struct DBusMethod
return;
}
- Logger::trace(SSTR << "Calling method: [" << path << "]:[" << interfaceName << "]:[" << methodName << "]");
+ Logger::info(SSTR << "Calling method: [" << path << "]:[" << interfaceName << "]:[" << methodName << "]");
callback(*static_cast<const T *>(pOwner), pConnection, methodName, pParameters, pInvocation, pUserData);
}