Is it possible to disable logging on Linux (Ubuntu)?
Need to turn off the svn, jabber, apache, proftpd, sendmail, ssh, vpn, mysql and all system logs.
Syslog is enabled by default. To disable it, enter the logging on command from the global config mode. To re-enable logging, re-enter the logging on command.
Syslog has been replaced by rsyslog on numerous OS. So, on Debian > 5, Ubuntu > 11.2, Centos 6.x the following command line would stop it:
service rsyslog stop
Then, you can disable it at boot:
systemctl disable rsyslog
to enable it again at boot:
systemctl enable rsyslog
If you went disable syslog, please running this command:
sudo systemctl disable rsyslog
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With