doc: add doc for daemon-specific log cli

Add doc for the daemon-specific log file cli

Signed-off-by: Mark Stapp <mjs@labn.net>
This commit is contained in:
Mark Stapp 2024-01-18 08:30:01 -05:00
parent 31015c3ad9
commit c7f7cf9610

View File

@ -152,6 +152,20 @@ Basic Config Commands
deprecated ``log trap`` command) will be used. The ``no`` form of the command
disables logging to a file.
.. clicmd:: log daemon DAEMON file [FILENAME [LEVEL]]
Configure file logging for a single FRR daemon. If you want to log
into a file, please specify ``filename`` as in this example:
::
log daemon bgpd file /var/log/frr/bgpd.log informational
If the optional second argument specifying the logging level is not present,
the default logging level (typically debugging, but can be changed using the
deprecated ``log trap`` command) will be used. The ``no`` form of the command
disables logging to a file for a single FRR daemon.
.. clicmd:: log syslog [LEVEL]
Enable logging output to syslog. If the optional second argument specifying