View previous topic :: View next topic |
Author |
Message |
direwolf Tux's lil' helper
Joined: 11 Jun 2003 Posts: 125 Location: Richmond, VA
|
Posted: Fri Feb 27, 2004 4:16 am Post subject: exim console messages |
|
|
Exim keeps spitting out console messages left and right on my box. Silly informational messages like "Start que run", "End que run", DNS lookup messages and stuff.
I have tried adjusting the levels for klogd (even tried "-c 1"), but those exim messages keep showing up.
Has anyone else seen this behavior? Is there a way to stop it?
Thx... Dire |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Feb 27, 2004 10:25 am Post subject: |
|
|
I wouldn't think this has anything to do with the kernel logger - which is only run while booting by the way.
You may have to adjust the console reporting threshold for the mail facility in your system logger.
Anything more severe than the threshold gets splurted to the console. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
direwolf Tux's lil' helper
Joined: 11 Jun 2003 Posts: 125 Location: Richmond, VA
|
Posted: Fri Feb 27, 2004 3:30 pm Post subject: sysklogd |
|
|
Give me a clue, here. Where would I adjust the "system logging levels for email" other than in the /etc/conf.d/sysklogd file? |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Feb 27, 2004 3:44 pm Post subject: |
|
|
You have to adjust the threshold of log messages to be put to the console, not the logging level itself.
I'm not sure if the config file is in /etc/conf.d - that's usually only used for startup options to the daemons, not configuration as such.
The file you need to edit is /etc/syslog.conf.
Whenever you see a line of the form
Code: | mail.<priority> /dev/console (or a tty) |
that means everything above that gets logged to the console as well - or to a specific tty, which may be more to your liking; you might use tty11 or tty12 for that, enabling you to switch to these messages at any time while not cluttering up your normal VCs.
man syslog.conf for much more info. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
direwolf Tux's lil' helper
Joined: 11 Jun 2003 Posts: 125 Location: Richmond, VA
|
Posted: Sat Feb 28, 2004 2:32 pm Post subject: syslogd |
|
|
Ok, there is nothing in the syslogd config sending messages to the console. It appears that exim may be defaulting messages there because syslogd is dying.
<aside>
There should be a switch on runscript like --ignorestate so that when I try to start a service that has died I don't get "WARNING already started" and "Error stopping service" (well, it's DEAD!).
</aside>
So I can watch for exim messages, and when they start showing up on the console, I know syslogd has died. I can the manually start syslogd. So until I can get syslogd to behave (which is actually a bigger issue than seeing console messges), I'm going to have this issue. |
|
Back to top |
|
|
|