commit | 4619de5b778980685cf8b3abb27d8709dde086bd | [log] [tgz] |
---|---|---|
author | Ravi Teja <raviteja28031990@gmail.com> | Tue Jan 18 02:03:01 2022 -0600 |
committer | Ravi Teja <raviteja28031990@gmail.com> | Tue Jan 18 15:43:50 2022 +0000 |
tree | 37ad390d50d0eb5a35eada287f9542def55dc6c3 | |
parent | 216999f0354f04501d82baa072b6441e048dca71 [diff] |
Remove emit_object_signal() in restore path Currently InterfacesAdded signal generating while restoring existing D-bus objects. This commit is to avoid D-bus signals while restoring existing D-bus objects. Here is the discussion around this in mailing list https://lore.kernel.org/openbmc/6a83328d-c9d8-e387-6647-0595b9e73e88@linux.vnet.ibm.com/t/#openbmc-users Tested by: Verified D-bus signals after restarting logging service Signed-off-by: Ravi Teja <raviteja28031990@gmail.com> Change-Id: I28e15c36a3cfe5b7622384823c01290025cbc213
diff --git a/log_manager.cpp b/log_manager.cpp index e9a676a..6513bd9 100644 --- a/log_manager.cpp +++ b/log_manager.cpp
@@ -579,7 +579,6 @@ if (sanity(static_cast<uint32_t>(idNum), e->id())) { e->path(file.path(), true); - e->emit_object_added(); if (e->severity() >= Entry::sevLowerLimit) { infoErrors.push_back(idNum);