I'm trying to output persistent log files on Chaos Calmer 15.05.01 on a Buffalo WZR-HP-G300NH.
I used exroot to move the root file system to an external usb drive.
Now I'm trying to get the system and kernel log files to log to the drive and so I tried to get this working using the following changes to /etc/config/system based on the documentation here:
config system
option hostname 'OpenWrt'
option zonename 'America/New York'
option timezone 'EST5EDT,M3.2.0,M11.1.0'
option conloglevel '8'
option cronloglevel '8'
option log_file '/mnt/logging/syslog.log'
option log_size '100000'
option log_type 'file'
I also did a
touch /mnt/logging/syslog.log
to create the file and then I rebooted to see if anything would end up in the syslog.log file, but nothing has appears there.
When I run
logread -f
I get the error
Failed to find log object: Not found set
I also noticed that there doesn't appear to be a logd running.
(Last edited by leeand00 on 24 Sep 2016, 19:12)