summaryrefslogtreecommitdiff
path: root/ospfd/ospf_api.c
diff options
context:
space:
mode:
authorajs <ajs>2004-12-08 17:28:56 +0000
committerajs <ajs>2004-12-08 17:28:56 +0000
commite84cc647f194593ebd1805422376f2a30e3e06e3 (patch)
tree1a2fcbc233df7d3c143d13fce2b19c83da63bccc /ospfd/ospf_api.c
parentb9e7028fb2f626e1d345c6d52ace0567a410647f (diff)
2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* *.c: Change level of debug messages to LOG_DEBUG.
Diffstat (limited to 'ospfd/ospf_api.c')
-rw-r--r--ospfd/ospf_api.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ospfd/ospf_api.c b/ospfd/ospf_api.c
index 8821d741..03b31861 100644
--- a/ospfd/ospf_api.c
+++ b/ospfd/ospf_api.c
@@ -80,13 +80,13 @@ api_opaque_lsa_print (struct lsa_header *data)
olsa = (struct opaque_lsa *) data;
opaquelen = ntohs (data->length) - OSPF_LSA_HEADER_SIZE;
- zlog_warn ("apiserver_lsa_print: opaquelen=%d\n", opaquelen);
+ zlog_debug ("apiserver_lsa_print: opaquelen=%d\n", opaquelen);
for (i = 0; i < opaquelen; i++)
{
- zlog_warn ("0x%x ", olsa->mydata[i]);
+ zlog_debug ("0x%x ", olsa->mydata[i]);
}
- zlog_warn ("\n");
+ zlog_debug ("\n");
}
/* -----------------------------------------------------------
@@ -208,18 +208,18 @@ msg_print (struct msg *msg)
{
if (!msg)
{
- zlog_warn ("msg_print msg=NULL!\n");
+ zlog_debug ("msg_print msg=NULL!\n");
return;
}
#ifdef ORIGINAL_CODING
- zlog_warn
+ zlog_debug
("msg=%p msgtype=%d msglen=%d msgseq=%d streamdata=%p streamsize=%lu\n",
msg, msg->hdr.msgtype, ntohs (msg->hdr.msglen), ntohl (msg->hdr.msgseq),
STREAM_DATA (msg->s), STREAM_SIZE (msg->s));
#else /* ORIGINAL_CODING */
/* API message common header part. */
- zlog_info
+ zlog_debug
("API-msg [%s]: type(%d),len(%d),seq(%lu),data(%p),size(%lu)",
ospf_api_typename (msg->hdr.msgtype), msg->hdr.msgtype,
ntohs (msg->hdr.msglen), (unsigned long) ntohl (msg->hdr.msgseq),