I moved S11klogd to K89klogd and S10sysklogd to K90sysklogd, as
instructed by the README in /etc/rc2.d. But, that did not seem to work.
I tried your suggestion, Jim, and that seemed to stop most of the logs
except for dmesg. Thanks! I guess dmesg is OK to keep, since that is
just the log of loading the drivers at boot, if I understand correctly.
Does anyone know where dmesg gets called? I would like to prevent it
from growing too big, if possible.
Don
On 5/27/2011 3:24 AM, Jim Jackson wrote:
On Thu, 26 May 2011, Rekcut_Nod wrote:
> I am using a Debian SD image on a TS-7260. I have turned off the
> bootlogd script in /etc/rcS.d and the klogd, and sysklogd scripts in
> /etc/rc2.d. However, the following logs in /var/log continue to update:
>
> daemon.log
> dmesg
> faillog
> messages
> syslog
> user.log
> wtmp
That means syslogd is running, so you still have it starting up on boot.
Exactly what did you do?
Simply moving /etc/rc2.d/Snn_sysklogd to /etc/rc2.d/NO_Snn_sysklogd
should prevent it being started on boot.
> I want to minimize the amount of writes done to preserve the SD card
for
> long-duration unsupervised operation. Can someone tell me how to keep
> these logs from being written to?
>
> Thanks,
> Don
>
>
smime.p7s
Description: S/MIME Cryptographic Signature
|