Linux tip, Fedora tip / howto: /var/log/secure empty

Note that these tips are mostly outdated

back to notes and tips index

Try my online puzzle page with Calcudoku, Killer Sudoku and online Sudoku.

/var/log/secure empty

I don't know exactly when this happened, but suddenly my /var/log/secure is empty, as well as most of my other log files. It turns out my syslog daemon is now called syslog-ng, and disabled by default (!). So, as root, run:
chkconfig --level 345 sysconf-ng on

To start it right away (it will on subsequent reboots):
/etc/init.d/syslog-ng start

Configuration options are in /etc/syslog-ng/syslog-ng.conf, I still have to check this file for useful settings/options, feedback is welcome.

← back to notes and tips index
Please do not copy the text of this tip (© Patrick Min) to your web site.