summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ChangeLog5
-rw-r--r--lib/log.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index a4f79deb..4c8e3786 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+ * log.c: (zlog_signal,_zlog_assert_failed) Change logging level back to
+ LOG_ERR instead of LOG_EMERG.
+
2004-12-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* log.c: (hex_append) No need to include this function if
diff --git a/lib/log.c b/lib/log.c
index ec958645..1be1c0b0 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -1,5 +1,5 @@
/*
- * $Id: log.c,v 1.19 2004/12/09 17:26:31 ajs Exp $
+ * $Id: log.c,v 1.20 2004/12/10 22:43:17 ajs Exp $
*
* Logging of zebra
* Copyright (C) 1997, 1998, 1999 Kunihiro Ishiguro
@@ -290,7 +290,7 @@ zlog_signal(int signo, const char *action)
*s++ = '\n';
/* N.B. implicit priority is most severe */
-#define PRI LOG_EMERG
+#define PRI LOG_ERR
#define DUMP(FP) write(fileno(FP),buf,s-buf);
if (!zlog_default)
@@ -472,7 +472,7 @@ _zlog_assert_failed (const char *assertion, const char *file,
{
zlog_err("Assertion `%s' failed in file %s, line %u, function %s",
assertion,file,line,(function ? function : "?"));
- zlog_backtrace(LOG_EMERG);
+ zlog_backtrace(LOG_ERR);
abort();
}