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.
diff --git a/lib/ChangeLog b/lib/ChangeLog
index bf95de5..faf6b18 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 8e2c4fa..bad884e 100644
--- a/lib/memory.c
+++ b/lib/memory.c
@@ -136,7 +136,7 @@
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 3f3c4e8..8207544 100644
--- a/lib/prefix.c
+++ b/lib/prefix.c
@@ -112,7 +112,7 @@
}
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);
}