From 557865c28e34e9172477e9fab025e7888f62dad7 Mon Sep 17 00:00:00 2001 From: ajs Date: Wed, 8 Dec 2004 19:59:11 +0000 Subject: 2004-12-08 Andrew J. Schorr * *.c: Change level of debug messages to LOG_DEBUG. --- bgpd/bgp_attr.c | 4 ++-- bgpd/bgp_debug.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index 410754ef..44c85850 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -969,7 +969,7 @@ bgp_mp_reach_parse (struct peer *peer, bgp_size_t length, struct attr *attr, 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 @@ bgp_attr_unknown (struct peer *peer, struct attr *attr, u_char flag, 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 3196effc..edcc9f09 100644 --- a/bgpd/bgp_debug.c +++ b/bgpd/bgp_debug.c @@ -273,7 +273,7 @@ bgp_notify_print(struct peer *peer, struct bgp_notify *bgp_notify, 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), -- cgit v1.2.1