From e6ca8eb1561ade7484a0249ffd1234cdf94e2562 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Wed, 28 Apr 2021 12:43:17 +0000 Subject: [PATCH] lower log priority for fatal errors from CRIT to ERR found by Anna, thanks! --- ChangeLog | 4 ++++ log.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 95c4089..fa5c71c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-04-27 Omar Polo + + * log.c (fatal): lower the log priority for fatal errors from CRIT to ERR + 2021-04-25 Omar Polo * server.c (open_dir): sort the auto index alphabetically diff --git a/log.c b/log.c index d41c9e3..c86f0e0 100644 --- a/log.c +++ b/log.c @@ -65,7 +65,7 @@ fatal(const char *fmt, ...) vfprintf(stderr, fmt, ap); fprintf(stderr, "\n"); } else - vsyslog(LOG_DAEMON | LOG_CRIT, fmt, ap); + vsyslog(LOG_DAEMON | LOG_ERR, fmt, ap); va_end(ap); exit(1);