1 |
On Monday 14 June 2010 03:18:27 Walter Dnes wrote: |
2 |
> Any time I insert/remove a USB key, or when iptables has something to |
3 |
> say, it shows up on all text consoles, not just number 12. This seems |
4 |
> to be happening after a recent update. I'm running syslog-ng 3.0.6. I |
5 |
> have not manually touched any config files. |
6 |
> |
7 |
> Searching through Google turned up answers for various other distros, |
8 |
> directing me to various config files that don't exist in Gentoo. Here |
9 |
> is my config for syslog-ng. |
10 |
> |
11 |
> @version: 3.0 |
12 |
> |
13 |
> options { |
14 |
> chain_hostnames(no); |
15 |
> stats_freq(43200); |
16 |
> }; |
17 |
> |
18 |
> source src { |
19 |
> unix-stream("/dev/log" max-connections(256)); |
20 |
> internal(); |
21 |
> file("/proc/kmsg"); |
22 |
> }; |
23 |
> |
24 |
> destination messages { file("/var/log/messages"); }; |
25 |
> |
26 |
> destination console_all { file("/dev/tty12"); }; |
27 |
|
28 |
The above line is meant to send messages to /dev/tty12. |
29 |
|
30 |
> log { source(src); destination(messages); }; |
31 |
> log { source(src); destination(console_all); }; |
32 |
|
33 |
Are you sure that your syslog-ng is reading the correct /etc/syslog-ng/syslog- |
34 |
ng.conf ? |
35 |
-- |
36 |
Regards, |
37 |
Mick |