Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-20-2005, 09:50 AM
|
#1
|
LQ Newbie
Registered: May 2005
Distribution: Debian
Posts: 16
Rep:
|
Log redirection?
Hey. Well, because of "firestarter" and "iptables", whenever I go on some console, I get a mass of log messages which are pretty annoying. Thus, I was wondering whether it is possible to redirect everything to "xconsole", for example.  Thanks!
|
|
|
11-21-2005, 09:24 PM
|
#2
|
Member
Registered: Oct 2005
Location: A safe distance from Detroit
Distribution: SuSE 10.0, Knoppix
Posts: 99
Rep:
|
I'm not extremely experienced with this, but I believe syslog-ng will let you do this sort of thing. I've only just started trying to set up my logging, so I can't tell you much more than that.
-Alan
|
|
|
11-25-2005, 01:06 PM
|
#3
|
LQ Newbie
Registered: May 2005
Distribution: Debian
Posts: 16
Original Poster
Rep:
|
Hey. Thanks for the answer. Yeah, I figured recently that "sysklogd" might not be the best daemon and thus, I just installed "metalog". I heard many good things about it, especially the possibility to include perl regular expressions stuff, in order to filter logs. Anyway, I bet many threads have already been started about that so I won't start a new major discussion about that.
|
|
|
11-25-2005, 04:13 PM
|
#4
|
LQ Newbie
Registered: May 2005
Distribution: Debian
Posts: 16
Original Poster
Rep:
|
Ok so just in case someone would be wondering, "metalog" solves the problem.  There's a section in the "/etc/metalog.conf" file about firewalls that is commented. After being uncommented, the problem is solved.
|
|
|
11-25-2005, 04:27 PM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
in case it helps anyone else running into this thread: i believe in /etc/syslog.conf there's an option for choosing whether or not you want the output to be sent to the console...
|
|
|
11-28-2005, 10:54 AM
|
#6
|
LQ Newbie
Registered: May 2005
Distribution: Debian
Posts: 16
Original Poster
Rep:
|
Yeah, I heard about it. Besides, I think it implies that you will get almost nothing in the console, which might not be a good idea.
|
|
|
11-28-2005, 04:13 PM
|
#7
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
actually, AFAIK by selecting the option to not have kernel messages sent to the console it won't affect the other type of messages... personally i've NEVER had a need to see kernel messages on a console - i can just tail the logfiles if i need to... BTW, i'm on slackware and the out-of-the-box setting is to NOT show them... like:
Code:
# Uncomment this to see kernel messages on the console.
#kern.* /dev/console
but i remember when i tried debian a LONG time ago i had to change the out-of-the-box setting cuz my console was getting floaded with kernel messages and i couldn't do my work...
Last edited by win32sux; 11-28-2005 at 04:21 PM.
|
|
|
All times are GMT -5. The time now is 05:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|