summaryrefslogtreecommitdiffstats
path: root/src/host/virt_phy/src/logging.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-19 12:14:35 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-19 12:14:35 +0200
commitf7dafcc5d2db77c03354c549e5493b2c4f78ac67 (patch)
tree0a8eb1c9bb69693c2cda0f082d9be1a938a45674 /src/host/virt_phy/src/logging.c
parent198dbda3c830e5a361d335a34305fb70a805986e (diff)
VIRT-PHY: Separate logging of L1 Control and L1 Data
L1 Data is quite verbose, while control is typically limited, so let's make sure we log them as separate sub-systems Change-Id: Idebc371a63508c593855486ff01b2ba6e8c2cfd1
Diffstat (limited to 'src/host/virt_phy/src/logging.c')
-rw-r--r--src/host/virt_phy/src/logging.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/host/virt_phy/src/logging.c b/src/host/virt_phy/src/logging.c
index 7fb2c238..feb50817 100644
--- a/src/host/virt_phy/src/logging.c
+++ b/src/host/virt_phy/src/logging.c
@@ -64,7 +64,15 @@ static const struct log_info_cat default_categories[] = {
.description = "Layer 1 Control",
.color = "\033[1;31m",
.enabled = 1,
- .loglevel = LOGL_DEBUG, },
+ .loglevel = LOGL_DEBUG,
+ },
+ [DL1P] = {
+ .name = "DL1P",
+ .description = "Layer 1 Data",
+ .color = "\033[1;31m",
+ .enabled = 1,
+ .loglevel = LOGL_DEBUG,
+ },
[DVIRPHY] = {
.name = "DVIRPHY",
.description = "Virtual Layer 1 Interface",