mgmt+rib: improve logging
Change-Id: I2c8470831a9f9cbd5c06681f69783c4b442420f9
diff --git a/daemon/rib/rib-update.cpp b/daemon/rib/rib-update.cpp
index 935ccce..8fc5000 100644
--- a/daemon/rib/rib-update.cpp
+++ b/daemon/rib/rib-update.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2023, Regents of the University of California,
+ * Copyright (c) 2014-2025, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -44,10 +44,9 @@
std::ostream&
operator<<(std::ostream& os, const RibUpdate& update)
{
- return os << "RibUpdate {\n"
- << " Name: " << update.getName() << "\n"
- << " Action: " << update.getAction() << "\n"
- << " " << update.getRoute() << "\n"
+ return os << "RibUpdate{" << update.getAction()
+ << ", " << update.getName()
+ << ", " << update.getRoute()
<< "}";
}