Commit Diff


commit - 419a4235208ba879e00b9a7c6065485e8e990814
commit + e6ca8eb1561ade7484a0249ffd1234cdf94e2562
blob - 95c4089a502e2f56f18b752e6163b4fc3c3163be
blob + fa5c71c78dd59c163f5e9659ecd939ccc170c3d3
--- ChangeLog
+++ ChangeLog
@@ -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
blob - d41c9e3b4e212f28b65d6d5c2decaa8e172210be
blob + c86f0e00523f014bfc43b44c3b0d833b4f2a7837
--- log.c
+++ 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);