LOGGING: configure logging from the vty
We can now configure logging to (multiple) files, stderr and syslog
from the vty command line in a persistent way (config file)
diff --git a/src/vty/vty.c b/src/vty/vty.c
index a5b16dc..c1a9b3a 100644
--- a/src/vty/vty.c
+++ b/src/vty/vty.c
@@ -765,6 +765,9 @@
vty_config_unlock(vty);
vty->node = ENABLE_NODE;
break;
+ case CFG_LOG_NODE:
+ vty->node = CONFIG_NODE;
+ break;
default:
/* Unknown node, we have to ignore it. */
break;
@@ -1129,6 +1132,9 @@
vty_config_unlock(vty);
vty->node = ENABLE_NODE;
break;
+ case CFG_LOG_NODE:
+ vty->node = CONFIG_NODE;
+ break;
default:
/* Unknown node, we have to ignore it. */
break;