diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-20 11:31:14 -0400 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2018-09-25 19:11:25 +0200 | 
| commit | e09443f51b1c4ee29a5bb7155c0f5161af2cdc7f (patch) | |
| tree | 583cdf8edf3486ca95344a8ae09197a6a7797a1b /watchfrr/watchfrr_errors.h | |
| parent | d127c61aebbce56183d17e5631dffac7a11e84bc (diff) | |
watchfrr: Modify some stderr messages to zlog_warn
The stderr output is not being displayed as part of watchfrr invocation
in system startup.  Specifically if the user has not properly sent
1 or more daemons to monitor.  If the end-user is using tools/frr
this stderr is dropped( and systemd appears to drop stderr too? )
Modify the two stderr calls in this situation and use the zlog system.
Now I can clearly see an error message that tells me what has gone wrong.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
[DL: fixed typo]
Diffstat (limited to 'watchfrr/watchfrr_errors.h')
| -rw-r--r-- | watchfrr/watchfrr_errors.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/watchfrr/watchfrr_errors.h b/watchfrr/watchfrr_errors.h index 93103b6551..9d5abde52b 100644 --- a/watchfrr/watchfrr_errors.h +++ b/watchfrr/watchfrr_errors.h @@ -25,6 +25,7 @@  enum watchfrr_log_refs {  	EC_WATCHFRR_CONNECTION = WATCHFRR_FERR_START, +	EC_WATCHFRR_UNEXPECTED_DAEMONS,  };  extern void watchfrr_error_init(void);  | 
