add log file to /var/log/
Posted: Wed Jun 03, 2020 9:11 pm
I have an application that writes to a log file. I create (via sudo touch) a blank log file (foobar.log) in /var/log/foobar.log. If I then create the following entry in /etc/fstab...
...reboot and then look in /var/log/ I cannot see foobar.log if I..
All the other log files are visible.
I cannot compute
(Raspberry pi4, Raspberry Pi OS Buster)
Cheers.
Code: Select all
tmpfs /var/log tmpfs size=50M,nodev,nosuid 0 2Code: Select all
cat /var/logI cannot compute
(Raspberry pi4, Raspberry Pi OS Buster)
Cheers.