Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-22-2004, 05:52 PM   #1
Registered: Nov 2004
Location: Aotearoa
Distribution: Slack, Ubuntu
Posts: 92

Rep: Reputation: 15
How to edit /etc/syslog.conf ?

Hey guys

I'm running Slack 10.0 (2.4.26 kernel) and my /var/log/syslog file is almost completely full of this sort of thing: (I've never tried putting this code formatting in a post so here goes...)
Nov 21 04:42:34 deathstar last message repeated 68 times
Nov 21 04:43:35 deathstar last message repeated 153 times
Nov 21 04:44:31 deathstar last message repeated 143 times
Nov 21 04:45:33 deathstar last message repeated 133 times
... and so on.

I read somewhere that I could edit /etc/syslog.conf to stop these messages. I had at look at the file and the man page but I'm still not exactly sure how to do it. Could someone please tell me how to edit this to trim the fat out of my syslog. Even better, I would love to know what these messages mean, if they are important and how I can fix what's wrong, there are seriously thousands of these, it looks as if they come just about every minute.


Last edited by slackaddict; 11-22-2004 at 05:55 PM.
Old 11-22-2004, 06:47 PM   #2
Registered: Oct 2004
Location: Northville, MI
Distribution: Slackware
Posts: 65

Rep: Reputation: 15
What this usually indicates is that the exact same entry that preceeds that message was being repeated over and over again, and rather than have a repetitive message in your syslog, it just says that it has happend 133 times. What is the line in your /var/log/syslog that preceeds that? (what is the actual error / message?) If that's what your log file begins with (i.e. your syslogd service reset), just send a HUP signal to your syslog with: killall -HUP syslogd This should reset your syslog process.
Old 11-23-2004, 04:21 AM   #3
Registered: Nov 2004
Location: Aotearoa
Distribution: Slack, Ubuntu
Posts: 92

Original Poster
Rep: Reputation: 15
Thanks neilman

It looks like the line preceeding this is always:
Nov 21 11:34:54 deathstar pppoa3[1389]: Clp bit is ON 
Nov 21 11:35:25 deathstar last message repeated 99 times
Nov 21 11:36:26 deathstar last message repeated 180 times
I think this is something to do with my Speedtouch USB ADSL modem, though I don't know what. The modem works really well and sometimes this is the only messge I get in the syslog for 3 hours.

Anyway, I suppose its better to have one message every minute than 180 every minute, it still makes it hard to find usefull info in the log though. I'm going to try a few things with /etc/syslog.conf and see if I can send just these "last message repeated" lines to a different log, then I just need to check I'm not sending other important info there too. If you have any tips, eg you know the "facility" and "priority" of these messages, that would be appreciated


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
grep in syslog.conf komo Linux - General 2 11-16-2005 04:56 AM
syslog-ng conf confusion cyph3r7 Linux - Software 0 07-06-2004 11:02 PM
Repeated crashes - here's my log message jeffreybluml Linux - Newbie 2 05-21-2004 09:19 AM
edit /etc/syslog.conf wedgeworth Linux - Software 3 04-08-2004 01:58 PM
syslog error message saag Linux - Newbie 0 03-20-2004 02:28 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration