summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog6
-rw-r--r--lib/memory.c2
-rw-r--r--lib/prefix.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index bf95de5b..faf6b185 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,9 @@
+2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+ * prefix.c: (prefix_copy) Error message before abort should
+ have severity LOG_ERR, not LOG_INFO.
+ * memory.c: (mtype_log) Log level should be LOG_DEBUG, not LOG_INFO.
+
2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* {smux.c,zclient.c}: Change level of debug messages to LOG_DEBUG.
diff --git a/lib/memory.c b/lib/memory.c
index 8e2c4faa..bad884e3 100644
--- a/lib/memory.c
+++ b/lib/memory.c
@@ -136,7 +136,7 @@ static struct
static void
mtype_log (char *func, void *memory, const char *file, int line, int type)
{
- zlog_info ("%s: %s %p %s %d", func, lookup (mstr, type), memory, file, line);
+ zlog_debug ("%s: %s %p %s %d", func, lookup (mstr, type), memory, file, line);
}
void *
diff --git a/lib/prefix.c b/lib/prefix.c
index 3f3c4e8e..82075442 100644
--- a/lib/prefix.c
+++ b/lib/prefix.c
@@ -112,7 +112,7 @@ prefix_copy (struct prefix *dest, const struct prefix *src)
}
else
{
- zlog (NULL, LOG_INFO, "prefix_copy(): Unknown address family %d",
+ zlog (NULL, LOG_ERR, "prefix_copy(): Unknown address family %d",
src->family);
assert (0);
}