Always enable asynchronous logging

This patch always enables asynchronous logging which slows
down the system a lot on slow storage and some virtual environments.

It also removes the configuration options in the web
user interface, since this is not configurable any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2016-11-29 12:18:41 +00:00
parent b7f2fe819b
commit adb11e90df
14 changed files with 31 additions and 48 deletions

View File

@@ -5,10 +5,10 @@
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
# local0.* any dhcpcd log (even debug) in messages
cron.none;daemon.*;local0.*;local2.*;*.info;mail.none;authpriv.* /var/log/messages
cron.none;daemon.*;local0.*;local2.*;*.info;mail.none;authpriv.* -/var/log/messages
# Log crons
#cron.* /var/log/cron.log
#cron.* -/var/log/cron.log
# Everybody gets emergency messages
*.emerg *
@@ -20,4 +20,4 @@ cron.none;daemon.*;local0.*;local2.*;*.info;mail.none;authpriv.* /var/log/messag
#*.* @hostname.domain
# Postfix logs
mail.* /var/log/mail
mail.* -/var/log/mail

View File

@@ -1,4 +1,6 @@
etc/system-release
etc/issue
etc/syslog.conf
etc/unbound/unbound.conf
srv/web/ipfire/cgi-bin/fwhosts.cgi
srv/web/ipfire/cgi-bin/logs.cgi/config.dat

View File

@@ -44,6 +44,7 @@ ldconfig
#/usr/local/bin/update-lang-cache
# Start services
/etc/init.d/sysklogd restart
if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
/etc/init.d/ipsec start
fi