From 887c44a4f3d8219dc5b1c52b5dcde1f31d52b73d Mon Sep 17 00:00:00 2001 From: ajs Date: Fri, 3 Dec 2004 16:36:46 +0000 Subject: 2004-12-03 Andrew J. Schorr * bgp_main.c: (sigint) Use zlog_notice for termination message. (main) Use zlog_notice for startup announcement. * isis_main.c: (sigint,sigterm) Use zlog_notice for termination message. (terminate) This function should be static, not global. (main) Use zlog_notice for startup announcement, and remove ifdef ZEBRA_VERSION. * version.h.in: Remove declaration for pid_output_lock, this function is now static, not global. * pid_output.c: (pid_output_lock) This function should be static, not global. And remove "old umask" error message, since it was really an unimportant debug message, not an error. (pid_output) Need to declare static function pid_output_lock. * ospf6_main.c: (sigint,sigterm) Use zlog_notice for termination message. (main) Remove commented-out call to pid_output_lock (which should never be called other than from inside pid_output). And use zlog_notice to print the startup message, which now includes the vty port. * ospf_main.c: (sigint) Use zlog_notice for termination message. (main) Issue a startup announcement using zlog_notice. * rip_main.c: (sigint) Use zlog_notice for termination message. (main) Add a startup announcement using zlog_notice. * ripng_main.c: (sighup) Remove spurious terminating message. (sigint) Use zlog_notice for termination message. (main) Issue a startup announcement using zlog_notice. * main.c: (sigint) Use zlog_notice for termination message. (main) Add a startup announcement using zlog_notice. --- bgpd/ChangeLog | 5 +++++ bgpd/bgp_main.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'bgpd') diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog index 64b229cf..c76627b6 100644 --- a/bgpd/ChangeLog +++ b/bgpd/ChangeLog @@ -1,3 +1,8 @@ +2004-12-03 Andrew J. Schorr + + * bgp_main.c: (sigint) Use zlog_notice for termination message. + (main) Use zlog_notice for startup announcement. + 2004-11-25 Hasso Tepper * bgp_main.c: Make group to run as configurable. diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c index 1d6710fd..ee498b0c 100644 --- a/bgpd/bgp_main.c +++ b/bgpd/bgp_main.c @@ -173,7 +173,7 @@ sighup (void) void sigint (void) { - zlog (NULL, LOG_INFO, "Terminating on signal"); + zlog_notice ("Terminating on signal"); if (! retain_mode) bgp_terminate (); @@ -305,8 +305,8 @@ main (int argc, char **argv) vty_serv_sock (vty_addr, vty_port, BGP_VTYSH_PATH); /* Print banner. */ - zlog_info ("BGPd %s starting: vty@%d, bgp@%d", QUAGGA_VERSION, - vty_port, bm->port); + zlog_notice ("BGPd %s starting: vty@%d, bgp@%d", QUAGGA_VERSION, + vty_port, bm->port); /* Start finite state machine, here we go! */ while (thread_fetch (master, &thread)) -- cgit v1.2.1