View previous topic :: View next topic |
Author |
Message |
onesandzeros Tux's lil' helper
Joined: 30 Sep 2002 Posts: 108
|
Posted: Tue Sep 26, 2006 12:34 am Post subject: junk output on VTs |
|
|
Hello all,
I have a little problem. If I Ctrl+Alt+F1-6, I get firewall messages (stuff that should go into /var/log/messages) coming out on the vt. It doesn't happen in Konsole, though. Any ideas? I haven't changed my firewall's logging setup, but I may have incorrectly etc-update'd something.
Thanks! |
|
Back to top |
|
|
psycepa Veteran
Joined: 27 Dec 2004 Posts: 1637 Location: Poland
|
Posted: Tue Sep 26, 2006 2:56 am Post subject: |
|
|
Code: |
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"); };
log { source(src); destination(messages); };
log { source(src); destination(console_all); };
|
that is a part of my /etc/syslog-ng/syslog-ng.conf file and it loggs everything into file
compare it and check weahter you have looging into file enabled
greetingz _________________ RLUNo. 376073
bo czytac, to trzeba ze zrozumieniem (c) by psycepa
"nigdy nie kloc sie z glupcem, najpierw sprowadzi cie do swojego poziomu a potem pokona doswiadczeniem"
"Life is complex. It has its real and imaginary part." |
|
Back to top |
|
|
onesandzeros Tux's lil' helper
Joined: 30 Sep 2002 Posts: 108
|
Posted: Wed Sep 27, 2006 1:03 pm Post subject: |
|
|
Psycepa,
Thanks for your reply. My syslog-ng.conf looks the same, including
Code: | destination messages { file("/var/log/messages"); }; |
so, I'm not sure what's wrong.
I'm thinking it's something to do with my firewall script. That would make sense, because I sometimes make changes to it (I've never bothered with syslog-ng.conf). I have to do some looking...
Thanks again |
|
Back to top |
|
|
Raffi l33t
Joined: 17 Mar 2003 Posts: 731 Location: Moscow, Id.
|
Posted: Sat Sep 30, 2006 5:14 pm Post subject: |
|
|
I'm seeing the same thing, I noticed it after re-compiling syslog-ng (same version, recompiled for 4.1.1 switch). In my case, it is not just firewall messages, but all kernel logging messages. My syslog-ng config file should put those messages in /var/log/kernel (and it does). It should also log them to /dev/tty12 (and it does). It should not log to all VTs, but it does. |
|
Back to top |
|
|
Raffi l33t
Joined: 17 Mar 2003 Posts: 731 Location: Moscow, Id.
|
|
Back to top |
|
|
onesandzeros Tux's lil' helper
Joined: 30 Sep 2002 Posts: 108
|
Posted: Sun Oct 01, 2006 2:34 am Post subject: |
|
|
Raffi,
Thanks. I started examining/making changes to my firewall script, but I had no luck in stopping the messages. I'll check into your suggestion.
Thanks again. |
|
Back to top |
|
|
Raffi l33t
Joined: 17 Mar 2003 Posts: 731 Location: Moscow, Id.
|
Posted: Sun Oct 01, 2006 3:59 am Post subject: |
|
|
Looks like the latest stable baselayout fixes the problem. I am no longer getting the console clutter after my last reboot. |
|
Back to top |
|
|
|