LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   syslog not summarizing? (https://www.linuxquestions.org/questions/slackware-14/syslog-not-summarizing-4175432215/)

glorsplitz 10-14-2012 07:57 PM

syslog not summarizing?
 
Hi, /var/log/messages in 12.0 was summarizing some messages, in 14.0 there is no summarizing.

I don't know how to have messages summarized so I know I didn't do something to make them summarize in 12.0.

Is there a way to summarize messages and maybe syslog too?

Thanks

acid_kewpie 10-16-2012 04:53 AM

what kind of summary was this? Syslog in itself would really not summarize anything in my experience. They may throttle and abbreviate similar messages, but that's not a summary.

glorsplitz 10-16-2012 07:52 PM

I had MJPG-streamer running on my Slackware 12.0 computer and (actually it was in /var/log/messages) had messages something like

Oct 15 07:05:22 XXXXXX MJPG-streamer [1779]: serving client: 000.00.000.000:3686
Oct 15 07:05:22 XXXXXX MJPG-streamer [1779]: serving client: 000.00.000.000.3687
[last 5 lines repeat]
Oct 15 07:05:25 XXXXXX MJPG-streamer [1779]: serving client: 000.00.000.000:3694

however on Slackware 14.0 all the messages show, no repeat lines, I thought 'repeat' meant summarizing.

Thanks

acid_kewpie 10-17-2012 02:40 AM

it's just flood protection really, and save a fraction of IO and disk space.

glorsplitz 10-17-2012 07:20 AM

thanks for following up, that's what I thought I was just curious

hotchili 10-18-2012 03:26 PM

This works here on 14.0 64bit like it always did

Code:

$for i in $(seq 15); do logger "wupwupwup"; done
$logger bla

result:
Oct 18 22:22:37 darkstar username: wupwupwup
Oct 18 22:22:37 darkstar last message repeated 14 times
Oct 18 22:22:41 darkstar username: bla

Have you maybe changed something in /etc/rc.d where syslogd is started?
Because I read on bsd systems there is a -c option to turn this off, but
I can't find this in the manpage on slackware...hmm


All times are GMT -5. The time now is 07:13 AM.