diff options
author | Omar Polo <op@omarpolo.com> | 2021-04-28 12:43:17 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-04-28 12:43:17 +0000 |
commit | e6ca8eb1561ade7484a0249ffd1234cdf94e2562 (patch) | |
tree | 69e25cc6a204c67df6e823ce091324b0888a077b | |
parent | 419a4235208ba879e00b9a7c6065485e8e990814 (diff) |
lower log priority for fatal errors from CRIT to ERR
found by Anna, thanks!
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | log.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2021-04-27 Omar Polo <op@omarpolo.com> + + * log.c (fatal): lower the log priority for fatal errors from CRIT to ERR + 2021-04-25 Omar Polo <op@omarpolo.com> * server.c (open_dir): sort the auto index alphabetically @@ -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); |