aboutsummaryrefslogtreecommitdiffstats
path: root/src/vty
diff options
context:
space:
mode:
authorHoernchen <ewild@sysmocom.de>2024-01-09 16:37:05 +0000
committerHoernchen <ewild@sysmocom.de>2024-01-09 16:37:05 +0000
commit7f1fb3ea817578f3f2f63e8065aa50f8355caa3b (patch)
tree11d9bfa1cd367671ca2f09d7aeb3bf429a12228e /src/vty
parent7dc6d4a629a37bb081d62f6ce61f4e5ee0237247 (diff)
Revert "logging: add log level cache"
This reverts commit 7dc6d4a629a37bb081d62f6ce61f4e5ee0237247. Reason for revert: other tests are failing Change-Id: Ife4c49d1bb933e983ac68c57970c9c49b40e08be
Diffstat (limited to 'src/vty')
-rw-r--r--src/vty/logging_vty.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c
index 678ae686..2a074222 100644
--- a/src/vty/logging_vty.c
+++ b/src/vty/logging_vty.c
@@ -382,10 +382,6 @@ DEFUN(logging_level,
tgt->categories[category].enabled = 1;
tgt->categories[category].loglevel = level;
-#if !defined(EMBEDDED)
- log_cache_update(category, 1, level);
-#endif
-
RET_WITH_UNLOCK(CMD_SUCCESS);
}
@@ -410,9 +406,6 @@ DEFUN(logging_level_set_all, logging_level_set_all_cmd,
cat->enabled = 1;
cat->loglevel = level;
-#if !defined(EMBEDDED)
- log_cache_update(i, 1, level);
-#endif
}
RET_WITH_UNLOCK(CMD_SUCCESS);
}