From 478ba054aa04293821d86953a8455b7221cba39e Mon Sep 17 00:00:00 2001 From: ajs Date: Wed, 8 Dec 2004 20:41:23 +0000 Subject: 2004-12-08 Andrew J. Schorr * *.c: Change level of debug messages to LOG_DEBUG. --- bgpd/bgp_network.c | 10 +++++----- bgpd/bgp_nexthop.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'bgpd') diff --git a/bgpd/bgp_network.c b/bgpd/bgp_network.c index 7dcddb79..df377835 100644 --- a/bgpd/bgp_network.c +++ b/bgpd/bgp_network.c @@ -70,7 +70,7 @@ bgp_accept (struct thread *thread) } if (BGP_DEBUG (events, EVENTS)) - zlog_info ("[Event] BGP connection from host %s", inet_sutop (&su, buf)); + zlog_debug ("[Event] BGP connection from host %s", inet_sutop (&su, buf)); /* Check remote IP address */ peer1 = peer_lookup (bgp, &su); @@ -79,10 +79,10 @@ bgp_accept (struct thread *thread) if (BGP_DEBUG (events, EVENTS)) { if (! peer1) - zlog_info ("[Event] BGP connection IP address %s is not configured", + zlog_debug ("[Event] BGP connection IP address %s is not configured", inet_sutop (&su, buf)); else - zlog_info ("[Event] BGP connection IP address %s is Idle state", + zlog_debug ("[Event] BGP connection IP address %s is Idle state", inet_sutop (&su, buf)); } close (bgp_sock); @@ -98,7 +98,7 @@ bgp_accept (struct thread *thread) /* Make dummy peer until read Open packet. */ if (BGP_DEBUG (events, EVENTS)) - zlog_info ("[Event] Make dummy peer structure until read Open packet"); + zlog_debug ("[Event] Make dummy peer structure until read Open packet"); { char buf[SU_ADDRSTRLEN + 1]; @@ -252,7 +252,7 @@ bgp_connect (struct peer *peer) #endif /* HAVE_IPV6 */ if (BGP_DEBUG (events, EVENTS)) - plog_info (peer->log, "%s [Event] Connect start to %s fd %d", + plog_debug (peer->log, "%s [Event] Connect start to %s fd %d", peer->host, peer->host, peer->fd); /* Connect to the remote peer. */ diff --git a/bgpd/bgp_nexthop.c b/bgpd/bgp_nexthop.c index cd899841..c368eba5 100644 --- a/bgpd/bgp_nexthop.c +++ b/bgpd/bgp_nexthop.c @@ -517,7 +517,7 @@ bgp_scan_timer (struct thread *t) thread_add_timer (master, bgp_scan_timer, NULL, bgp_scan_interval); if (BGP_DEBUG (normal, NORMAL)) - zlog_info ("Performing BGP general scanning"); + zlog_debug ("Performing BGP general scanning"); bgp_scan (AFI_IP, SAFI_UNICAST); -- cgit v1.2.1