]> git.proxmox.com Git - mirror_frr.git/commit
watchfrr: Modify some stderr messages to zlog_warn
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 20 Sep 2018 15:31:14 +0000 (11:31 -0400)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 25 Sep 2018 17:11:25 +0000 (19:11 +0200)
commite09443f51b1c4ee29a5bb7155c0f5161af2cdc7f
tree583cdf8edf3486ca95344a8ae09197a6a7797a1b
parentd127c61aebbce56183d17e5631dffac7a11e84bc
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]
watchfrr/watchfrr.c
watchfrr/watchfrr_errors.c
watchfrr/watchfrr_errors.h