OpenWrt Forum Archive

Topic: syslogd -C not working? Or is it logread?

The content of this topic has been archived on 27 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

I would like to have a bigger circular buffer for syslogd.  I've killed syslogd and started syslogd -C 128.  But when fill up the syslog with 'find / | logger' and then I do a 'logread | wc -l' I always get 275 lines.  No matter if I start syslogd -C 1 or syslogd -C 128.  Any suggestions?

I'm (still) using RC3. 

Eddy

+1

How to get a bigger logread buffer ?
Can I stop sysloginfo.log with -M 0 switch ?

Thanks.

Sonic wrote:

+1

How to get a bigger logread buffer ?
Can I stop sysloginfo.log with -M 0 switch ?

Thanks.

i'm using  syslogd -c32 -m 0 on my wrt54gs v1.1 with kamikaze 7.09 and everything seems to work fine

esteevens wrote:

Hello,

I would like to have a bigger circular buffer for syslogd.  I've killed syslogd and started syslogd -C 128.  But when fill up the syslog with 'find / | logger' and then I do a 'logread | wc -l' I always get 275 lines.  No matter if I start syslogd -C 1 or syslogd -C 128.  Any suggestions?

I'm (still) using RC3. 

Eddy

you should use -C128 without space.
there is a ticket https://dev.openwrt.org/changeset/6202

(Last edited by Giammin on 21 Feb 2008, 14:35)

The discussion might have continued from here.