summaryrefslogtreecommitdiff
path: root/lib/libfrr.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-15 13:38:46 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-06-19 08:43:59 -0400
commitf8507817cf19d621cefd1d0310925ad07ec4646e (patch)
tree3ea82f53181723fb6e4ff91a417f9bc73f019a3f /lib/libfrr.h
parent1f1432364911625d5abd6384b190a2d75c37120f (diff)
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>
Diffstat (limited to 'lib/libfrr.h')
-rw-r--r--lib/libfrr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfrr.h b/lib/libfrr.h
index 1c744ee1b9..ecef8c616e 100644
--- a/lib/libfrr.h
+++ b/lib/libfrr.h
@@ -58,6 +58,7 @@ struct frr_daemon_info {
const char *vty_path;
const char *module_path;
const char *pathspace;
+ const char *early_logging;
const char *proghelp;
void (*printhelp)(FILE *target);