On 08/11/2015 02:00 PM, Thanasis wrote:
On 08/11/2015 01:47 PM, Neil Bothwick wrote:
On Tue, 11 Aug 2015 13:30:29 +0300, Thanasis wrote:

/etc/rc.conf -> rc_logger="YES" and rc_log_path="/var/log/rc.log"


I had already set that, but my /var/log/rc.log is an empty file.

Are you using OpenRC or systemd? That only works with OpenRC, for systemd
you need "journalctl -b".

I am using OpenRC.


OK, I think I found the reason:

# ls -lrta /var/log/rc.log*
-rw-r--r-- 1 root root 5441 Jun 24 18:47 /var/log/rc.log-20150629.gz
-rw-r--r-- 1 root root 5644 Jul  7 17:34 /var/log/rc.log-20150708.gz
-rw-r--r-- 1 root root 1600 Jul 11 18:40 /var/log/rc.log-20150712.gz
-rw-r--r-- 1 root root 6481 Jul 26 15:59 /var/log/rc.log-20150727.gz
-rw-r--r-- 1 root root    0 Jul 27 03:10 /var/log/rc.log
# uptime -p
up 2 weeks, 2 days, 1 hour, 47 minutes
# last |grep boot
reboot   system boot  3.14.48-gentoo   Sun Jul 26 15:58   still running
<...snipped...>

Reply via email to