aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/logger.cpp
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2017-11-08 09:00:44 -0800
committerNeale Ranns <neale.ranns@cisco.com>2017-11-09 00:03:53 -0800
commitc3a2a2f93017e5422272d6b5c2586708c582b075 (patch)
tree969047e4d8a68fe3a39e8bc3c0089395f8442fa4 /src/vpp-api/vom/logger.cpp
parent4c9f2a805038a2d4f663b05a3d08ac4ee1eec3da (diff)
VOM logger levels fix
Change-Id: I0e627adb7846a33ee6e43f66cde648b4ae7f5cd4 Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vpp-api/vom/logger.cpp')
-rw-r--r--src/vpp-api/vom/logger.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vpp-api/vom/logger.cpp b/src/vpp-api/vom/logger.cpp
index 16e4b7c6e49..1ae55b921cf 100644
--- a/src/vpp-api/vom/logger.cpp
+++ b/src/vpp-api/vom/logger.cpp
@@ -22,10 +22,10 @@
#include "vom/logger.hpp"
namespace VOM {
-const log_level_t log_level_t::CRITICAL(0, "critical");
-const log_level_t log_level_t::ERROR(0, "error");
-const log_level_t log_level_t::WARNING(0, "warning");
-const log_level_t log_level_t::INFO(0, "info");
+const log_level_t log_level_t::CRITICAL(4, "critical");
+const log_level_t log_level_t::ERROR(3, "error");
+const log_level_t log_level_t::WARNING(2, "warning");
+const log_level_t log_level_t::INFO(1, "info");
const log_level_t log_level_t::DEBUG(0, "debug");
log_level_t::log_level_t(int v, const std::string& s)