FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 06-14-2010, 02:18 AM
"Walter Dnes"
 
Default Some log stuff shows up on text console after recent emerge

Any time I insert/remove a USB key, or when iptables has something to
say, it shows up on all text consoles, not just number 12. This seems
to be happening after a recent update. I'm running syslog-ng 3.0.6. I
have not manually touched any config files.

Searching through Google turned up answers for various other distros,
directing me to various config files that don't exist in Gentoo. Here
is my config for syslog-ng.

@version: 3.0

options {
chain_hostnames(no);
stats_freq(43200);
};

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

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

destination console_all { file("/dev/tty12"); };

log { source(src); destination(messages); };
log { source(src); destination(console_all); };


--
Walter Dnes <waltdnes@waltdnes.org>
 
Old 06-15-2010, 07:40 AM
Mick
 
Default Some log stuff shows up on text console after recent emerge

On Monday 14 June 2010 03:18:27 Walter Dnes wrote:
> Any time I insert/remove a USB key, or when iptables has something to
> say, it shows up on all text consoles, not just number 12. This seems
> to be happening after a recent update. I'm running syslog-ng 3.0.6. I
> have not manually touched any config files.
>
> Searching through Google turned up answers for various other distros,
> directing me to various config files that don't exist in Gentoo. Here
> is my config for syslog-ng.
>
> @version: 3.0
>
> options {
> chain_hostnames(no);
> stats_freq(43200);
> };
>
> source src {
> unix-stream("/dev/log" max-connections(256));
> internal();
> file("/proc/kmsg");
> };
>
> destination messages { file("/var/log/messages"); };
>
> destination console_all { file("/dev/tty12"); };

The above line is meant to send messages to /dev/tty12.

> log { source(src); destination(messages); };
> log { source(src); destination(console_all); };

Are you sure that your syslog-ng is reading the correct /etc/syslog-ng/syslog-
ng.conf ?
--
Regards,
Mick
 
Old 06-17-2010, 04:03 AM
"Walter Dnes"
 
Default Some log stuff shows up on text console after recent emerge

On Tue, Jun 15, 2010 at 08:40:26AM +0100, Mick wrote

> Are you sure that your syslog-ng is reading the correct
> /etc/syslog-ng/syslog-ng.conf ?

The hardrive on my regular machine started making ominous clicking
sounds, so I've been setting up my backup machine the past couple of
days. The backup doesn't seem to have this problem, but I'm catching up
on a world update. We'll see what happens there.


--
Walter Dnes <waltdnes@waltdnes.org>
 

Thread Tools




All times are GMT. The time now is 05:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org