public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mysterious syslog message "."
Date: Tue, 02 Feb 2010 11:36:14 +0930	[thread overview]
Message-ID: <1265076374.1692.263.camel@localhost> (raw)
In-Reply-To: <201001291729.23206.alan.mckinnon@gmail.com>

On Fri, 2010-01-29 at 17:29 +0200, Alan McKinnon wrote:
> On Friday 29 January 2010 16:26:42 Iain Buchanan wrote:

> > I don't really care about any killswitch operation, but I'm interested
> > in why I'm getting a "." message.  NetworkManager bug or
> > misconfiguration error?
> 
> Run syslog-ng with the -d switch to enable it's debug output (normally to 
> messages), or use -dd to get even more debug output.
> 
> Beware, this adds up real quick, so don't run it for long like that. The 
> output may give you more of a clue as to what syslog-ng thinks the incoming 
> messages are.

Holy Debug Messages, Batman!  Sure does add up real quick.

56,599 messages all with the same timestamp Feb 2 11:13:00; 100% cpu
usage, and 200+Mb before I killed it.

Shirley that's not right?

The 50k of messages all look like this:

Feb  2 11:12:59 orpheus syslog-ng[3739]: Filter rule evaluation begins; filter_rule='f_networkmanager'
Feb  2 11:12:59 orpheus syslog-ng[3739]: Filter node evaluation result; filter_result='not-match'
Feb  2 11:12:59 orpheus syslog-ng[3739]: Filter rule evaluation result; filter_result='not-match', filter_rule='f_networkmanager'

my syslog conf is directing network manager to a separate file:

@version: 3.0
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3.0,v 1.1 2009/05/25 20:07:21 mr_bones_ Exp $
#
# Syslog-ng default configuration file for Gentoo Linux

options { 
	chain_hostnames(no); 

	# The default action of syslog-ng is to log a STATS line
	# to the file every 10 minutes.  That's pretty ugly after a while.
	# Change it to every 12 hours so you get a nice daily update of
	# how many messages syslog-ng missed (0).
	stats_freq(43200); 
};

source src {
    unix-stream("/dev/log" max-connections(256));
    internal();
    file("/proc/kmsg");
};

destination messages { file("/var/log/messages"); };

# By default messages are logged to tty12...
destination console_all { file("/dev/tty12"); };
# ...if you intend to use /dev/console for programs like xconsole
# you can comment out the destination line above that references /dev/tty12
# and uncomment the line below.
#destination console_all { file("/dev/console"); };

# NetworkManager log to different file
log {
         source(src);
         filter(f_networkmanager);
         destination(df_networkmanager);
         flags(final);
};
log { source(src); destination(messages); };
log { source(src); destination(console_all); };

filter f_networkmanager { program("NetworkManager"); };
destination df_networkmanager { file("/var/log/NetworkManager.log"); };

any ideas?  thanks,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

A synonym is a word you use when you can't spell the word you first
thought of.
		-- Burt Bacharach




  reply	other threads:[~2010-02-02  2:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29 14:26 [gentoo-user] mysterious syslog message "." Iain Buchanan
2010-01-29 15:29 ` Alan McKinnon
2010-02-02  2:06   ` Iain Buchanan [this message]
2010-02-02 22:05     ` Alan McKinnon
2010-02-02 23:27       ` Iain Buchanan
2010-02-03  9:37         ` Neil Bothwick
2010-02-04  1:21           ` Iain Buchanan
2010-02-04  9:15             ` Neil Bothwick
2010-02-05  3:38               ` Iain Buchanan
2010-02-05  9:26                 ` Neil Bothwick
2010-02-05 12:49                   ` Stroller
2010-02-05 13:21                     ` Neil Bothwick
2010-02-03 16:57         ` Alan McKinnon
2010-02-04  1:26           ` Iain Buchanan
2010-02-04  8:44             ` Alan McKinnon
2010-02-02 23:10     ` Mick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1265076374.1692.263.camel@localhost \
    --to=iaindb@netspace.net.au \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox