From ca3fc057f21607733529ec67ec15bd5317066da4 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Mon, 30 Mar 2020 11:56:39 +0200 Subject: [PATCH] configure: Change semantics of 33bb6ed, logit enabled by default The logit tool is not just used by scripts and such, when logger is absent. It is also used by Finit internally to redirect logging of services to syslog and/or log file, with log rotation. This patch reverts the default to enabled. Someone explicitly has to disable logit now to get less functionality. Signed-off-by: Joachim Nilsson --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 13c5c876..08c00011 100644 --- a/configure.ac +++ b/configure.ac @@ -77,10 +77,6 @@ AC_ARG_ENABLE(watchdog, AS_HELP_STRING([--enable-watchdog], [Enable built-in watchdog, uses /dev/watchdog]),,[ enable_watchdog=no]) -AC_ARG_ENABLE(logit, - AS_HELP_STRING([--enable-logit], [Enable logger (sysklogd) replacement, default: disabled]),,[ - enable_logit=no]) - AC_ARG_ENABLE(redirect, AS_HELP_STRING([--enable-redirect], [Redirect service output to /dev/null, default: no]),,[ enable_redirect_output=no]) @@ -89,6 +85,10 @@ AC_ARG_ENABLE(inetd, AS_HELP_STRING([--disable-inetd], [Disable built-in inetd super server, default enabled]),,[ enable_inetd=yes]) +AC_ARG_ENABLE(logit, + AS_HELP_STRING([--disable-logit], [Disable logit, used for log redirection, default: enable]),,[ + enable_logit=yes]) + AC_ARG_ENABLE(logrotate, AS_HELP_STRING([--disable-logrotate], [Disable built-in rotation of /var/log/wtmp, default enabled]),,[ enable_logrotate=yes])