Looks ok here: root@mat:~# uname -a Linux mat 3.10.34 #3 Fri Mar 28 23:39:15 EDT 2014 mips GNU/Linux root@mat:~# cat /etc/openwrt_version r40296 root@mat:~# uci show system.@system[-1].log_size system.cfg02e48a.log_size=1024 root@mat:~# logread | wc 6243 49984 1117225 root@mat:~# logread | wc 6243 49984 1117225 root@mat:~# logread | wc 6243 49984 1117225 root@mat:~# logread | wc 6243 49984 1117225 root@mat:~# logread | wc 6243 49984 1117225
This is after stopping 'while :; do logger; done', right? With the loop running, there is some small variance in the number of lines (+/- 40 lines), I'm guessing due to logread catching logd at various stages of garbage collecting old entries in the ring buffer? On Thu, Mar 27, 2014 at 9:46 AM, John Crispin <j...@phrozen.org> wrote: > Hi, > > r40295 should fix #15357 > > Can someone try to verify that it is indeed fixed now ? > > below are my test results > > John > > > > > root@OpenWrt:/# uci show system.@system[-1].log_size > system.cfg02e48a.log_size=1024 > > root@OpenWrt:/# while true; do logger > foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo;done > > root@OpenWrt:/# logread > a > root@OpenWrt:/# ls -la a > -rw-r--r-- 1 root root 1116960 Mar 27 12:12 a > > root@OpenWrt:/# logread > b > root@OpenWrt:/# ls -la b > -rw-r--r-- 1 root root 1116960 Mar 27 12:12 b > > root@OpenWrt:/# logread | wc -l > 6240 > root@OpenWrt:/# logread | wc -l > 6240 > root@OpenWrt:/# logread | wc -l > 6240 > root@OpenWrt:/# logread | wc -l > 6240 > root@OpenWrt:/# logread | wc -l > 6240 > root@OpenWrt:/# > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel