Created
May 5, 2014 16:48
-
-
Save tranthamp/c3b6db0459d28f11d920 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Edit /etc/systemd/journal.conf and set the following options to prevent the creation of .journal files and to forward messages to syslog: | |
Storage=none | |
ForwardToSyslog=yes | |
# Check if syslog.service is a sym-link to /dev/null and remove it if so | |
$ ls -l /lib/systemd/system/syslog.service | |
$ rm /lib/systemd/system/syslog.service | |
# Unmask the syslog service so that it can be started | |
$ systemctl unmask syslog.service | |
# Start the syslog service (or just reboot) | |
$ /etc/init.d/syslog start | |
# All system messages should now show up in /var/log/messages | |
$ tail /var/log/messages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment