Log message cleanup
Removed std::endl from log messages.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: Iec49cfb9d1c6fef8bdea2c88e203c45093e2973d
diff --git a/attn/bp_handler.cpp b/attn/bp_handler.cpp
index 7b4744c..4ab734d 100644
--- a/attn/bp_handler.cpp
+++ b/attn/bp_handler.cpp
@@ -1,8 +1,6 @@
#include <logging.hpp>
#include <sdbusplus/bus.hpp>
-#include <sstream>
-
namespace attn
{
@@ -15,9 +13,7 @@
void bpHandler()
{
// trace message
- std::stringstream ss;
- ss << "Notify Cronus" << std::endl;
- log<level::INFO>(ss.str().c_str());
+ log<level::INFO>("Notify Cronus");
// notify Cronus over dbus
auto bus = sdbusplus::bus::new_system();