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.
diff --git a/lib/log.c b/lib/log.c
index ec95864..1be1c0b 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 @@
*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_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();
}