aboutsummaryrefslogtreecommitdiffstats
path: root/src/logging_syslog.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-06-09 17:41:31 +0200
committerHarald Welte <laforge@gnumonks.org>2018-06-09 17:43:33 +0200
commit11eb4b5add41ec6722fdba2f2023e87543e0507b (patch)
treee8dd77be30194b774b4b9ec99f19cbaa3cbbad0d /src/logging_syslog.c
parent23a299f0961ac7d9d798dcd86f80e7166763338d (diff)
vty: Add logging_vty_add_deprecated_subsys
This function permits the user to register deprecated log categories, which will ensure that if log categories are removed from a program, old config files will still load. We simply dynamically allocate a cmd_element and install it at CFG_LOG_NODE. Not registering it at VIEW_NODE or ENABLE_NODE ensures that it's not accessible from the interactive VTY, but only from the config file / configure node. Change-Id: I171f62ea2dc565b3a6c3eecd27fb7853e2529598
Diffstat (limited to 'src/logging_syslog.c')
0 files changed, 0 insertions, 0 deletions