From 195550c6071571aa01945cf061efe26d12dba4cc Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Wed, 13 Jun 2018 13:51:40 -0500 Subject: Remove journal entries for failed sdbusplus calls Calling code is already handling any missing method call response data appropriately, and many times the failed call is expected. For example, any time there is a dbus monitor rule that watches a property, it will try to read that property right away on startup to cache the value if possible. It's possible that some D-Bus objects may not exist at that moment in time, and the code already expects that. Tested: No more 'Failed to parse method response' journal entries. Change-Id: Iaa84020a34a96395abf7a3460c96ec0dc255fa23 Signed-off-by: Matt Spinler --- src/sdbusplus.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/sdbusplus.hpp b/src/sdbusplus.hpp index 4339bad..f37f7de 100644 --- a/src/sdbusplus.hpp +++ b/src/sdbusplus.hpp @@ -83,9 +83,8 @@ class SDBusPlus } catch (const SdBusError& e) { - log("Failed to parse method response", - entry("ERROR=%s", e.what()), - entry("REPLY_SIG=%s", respMsg.get_signature())); + // Empty responses are expected sometimes, and the calling + // code is set up to handle it. } return resp; } -- cgit v1.2.1