diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-02-18 20:37:04 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-02-18 20:37:04 +0100 |
commit | 2822296ddb22389c5b4e9b8fb6ef7c906ff99314 (patch) | |
tree | 5a05ad56e7ac5730bb98d12eef4aa527e4c7d0d9 /src/vty/command.c | |
parent | 46cfd77f7521ad53934e1e42057723b4cd52d241 (diff) |
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)
Diffstat (limited to 'src/vty/command.c')
-rw-r--r-- | src/vty/command.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vty/command.c b/src/vty/command.c index 7525df65..0f65224f 100644 --- a/src/vty/command.c +++ b/src/vty/command.c @@ -2180,6 +2180,9 @@ gDEFUN(config_exit, case VTY_NODE: vty->node = CONFIG_NODE; break; + case CFG_LOG_NODE: + vty->node = CONFIG_NODE; + break; default: break; } @@ -2195,6 +2198,7 @@ gDEFUN(config_exit, case ENABLE_NODE: /* Nothing to do. */ break; + case CFG_LOG_NODE: case CONFIG_NODE: case VTY_NODE: vty_config_unlock(vty); |