hnb-test: Add HNBAP category and reduce MAIN loglevel to INFO
diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c
index 8610604..cc5dfac 100644
--- a/src/tests/hnb-test.c
+++ b/src/tests/hnb-test.c
@@ -186,7 +186,7 @@
msgb_put(msg, rc);
if (flags & MSG_NOTIFICATION) {
- LOGP(DMAIN, LOGL_INFO, "Ignoring SCTP notification\n");
+ LOGP(DMAIN, LOGL_DEBUG, "Ignoring SCTP notification\n");
msgb_free(msg);
return 0;
}
@@ -289,10 +289,15 @@
static const struct log_info_cat log_cat[] = {
[DMAIN] = {
- .name = "DMAIN", .loglevel = LOGL_DEBUG, .enabled = 1,
+ .name = "DMAIN", .loglevel = LOGL_INFO, .enabled = 1,
.color = "",
.description = "Main program",
},
+ [DHNBAP] = {
+ .name = "DHNBAP", .loglevel = LOGL_DEBUG, .enabled = 1,
+ .color = "",
+ .description = "Home Node B Application Part",
+ },
};
static const struct log_info hnb_test_log_info = {