Browse Source

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.
ajs 15 years ago
parent
commit
b9e7028fb2
3 changed files with 8 additions and 2 deletions
  1. 6 0
      lib/ChangeLog
  2. 1 1
      lib/memory.c
  3. 1 1
      lib/prefix.c

+ 6 - 0
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.

+ 1 - 1
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 *

+ 1 - 1
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);
     }