On Fri, 27 May 2011, Don Tucker wrote:
> 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.
I think /etc/rc2.d/Snnklogd (soft link to /etc/init.d/klogd) is the
culprit. Do the same mv /etc/rc2.d/Snnklogd /etc/rc2.d/NO_Snnklogd
It starts the klogd daemon which handles kernel log messages. You'll end up
with no log.
>
> 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
> > >
> > >
> >
> >
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|