diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-15 13:38:46 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-19 08:43:59 -0400 |
| commit | f8507817cf19d621cefd1d0310925ad07ec4646e (patch) | |
| tree | 3ea82f53181723fb6e4ff91a417f9bc73f019a3f /lib/command.h | |
| parent | 1f1432364911625d5abd6384b190a2d75c37120f (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/command.h')
| -rw-r--r-- | lib/command.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h index 9bf482f41b..9ccd13c73b 100644 --- a/lib/command.h +++ b/lib/command.h @@ -479,4 +479,5 @@ extern void cmd_variable_handler_register(const struct cmd_variable_handler *cvh); extern char *cmd_variable_comp2str(vector comps, unsigned short cols); +extern void command_setup_early_logging(const char *option); #endif /* _ZEBRA_COMMAND_H */ |
