hnb-test: Add HNBAP category and reduce MAIN loglevel to INFO
This commit is contained in:
parent
bded9841b5
commit
3279780557
|
@ -186,7 +186,7 @@ static int hnb_read_cb(struct osmo_fd *fd)
|
|||
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 void hnb_send_register_req(struct hnb_test *hnb_test)
|
|||
|
||||
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 = {
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
enum {
|
||||
DMAIN,
|
||||
DHNBAP,
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue