ts-7000
[Top] [All Lists]

Re: [ts-7000] stopping logging daemons to reduce SD flash wear

To:
Subject: Re: [ts-7000] stopping logging daemons to reduce SD flash wear
From: Don Tucker <>
Date: Fri, 27 May 2011 09:52:06 -0500
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
>
>



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU