]> git.proxmox.com Git - mirror_frr.git/commit
lib: Add new cli to specify where to output logs on startup
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 15 Jun 2018 17:38:46 +0000 (13:38 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 19 Jun 2018 12:43:59 +0000 (08:43 -0400)
commitf8507817cf19d621cefd1d0310925ad07ec4646e
tree3ea82f53181723fb6e4ff91a417f9bc73f019a3f
parent1f1432364911625d5abd6384b190a2d75c37120f
lib: Add new cli to specify where to output logs on startup

When we are starting a daemon, allow the user to specify:

--log <stdout|syslog|file:file_name>

This can be used on early startup to put the log files
where the end user wants them to show up.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/command.c
lib/command.h
lib/libfrr.c
lib/libfrr.h