mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user