2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* *.c: Change level of debug messages to LOG_DEBUG.
diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c
index 410754e..44c8585 100644
--- a/bgpd/bgp_attr.c
+++ b/bgpd/bgp_attr.c
@@ -969,7 +969,7 @@
char buf2[INET6_ADDRSTRLEN];
if (BGP_DEBUG (update, UPDATE_IN))
- zlog_warn ("%s got two nexthop %s %s but second one is not a link-local nexthop", peer->host,
+ zlog_debug ("%s got two nexthop %s %s but second one is not a link-local nexthop", peer->host,
inet_ntop (AF_INET6, &attr->mp_nexthop_global,
buf1, INET6_ADDRSTRLEN),
inet_ntop (AF_INET6, &attr->mp_nexthop_local,
@@ -1085,7 +1085,7 @@
struct transit *transit;
if (BGP_DEBUG (events, EVENTS))
- zlog (peer->log, LOG_INFO,
+ zlog (peer->log, LOG_DEBUG,
"Unknown attribute type %d length %d is received", type, length);
/* Forward read pointer of input stream. */
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c
index 3196eff..edcc9f0 100644
--- a/bgpd/bgp_debug.c
+++ b/bgpd/bgp_debug.c
@@ -273,7 +273,7 @@
subcode_str, bgp_notify->length,
bgp_notify->data ? bgp_notify->data : "");
else if (BGP_DEBUG (normal, NORMAL))
- plog_info (peer->log, "%s %s NOTIFICATION %d/%d (%s%s) %d bytes %s",
+ plog_debug (peer->log, "%s %s NOTIFICATION %d/%d (%s%s) %d bytes %s",
peer ? peer->host : "",
direct, bgp_notify->code, bgp_notify->subcode,
LOOKUP (bgp_notify_msg, bgp_notify->code),