summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorajs <ajs>2004-12-08 17:14:45 +0000
committerajs <ajs>2004-12-08 17:14:45 +0000
commitb9e7028fb2f626e1d345c6d52ace0567a410647f (patch)
tree5a17a8485604b8f860ccabb43f1f6bbab82069d1 /lib
parentb6178002270192fe3ab2403dafac12e5babe11e6 (diff)
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.
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);
}