RE: broadcast messages

From: Vichnevetski, Alexei (Alexei.Vichnevetski@gdcanada.com)
Date: Fri Aug 29 2003 - 16:08:49 EDT


I was able to figure it out. All was needed, was to modify /etc/syslog.conf
As an explanation, I thought I would include Kenny Raby's email which is very
well explanatory.
Thanks to all for responding so quickly.
---------------------

Look in /etc/syslog.conf it is what tells what messages where to go. Lines
such as:

*.alert;local7.none root
Will send to a specific user. This line will send all alert messages except
for local7 to root

*.emerg;local7.none *
Will send to all logged in users. This line will send all emerg messages
except for local7 to everyone.

*.err;kern.notice;auth.notice;local7.none /dev/sysmsg
(may be as /dev/console depending on version/configuration)
Will send the listed mesage types to the console devices

These types are the ones you want to change/remove/comment out to keep
messages being sent to the console and/or user.

There will be other lines such as:

*.err;kern.debug;daemon.notice;mail.crit;local7.none /var/adm/messages
Which controls the logging to a file.

There are a lot of options, man syslog.conf will tell you more!
(oh and as with most config files you will have to stop/restart or HUP the
syslogd service to get it to reread the changed config. Also using the -d
option to syslogd will give you debugging information if you need more info on
a specific message)

Hope this helps.

Kenny
-----------------------------
-----Original Message-----
From: Vichnevetski, Alexei
Sent: Friday, August 29, 2003 2:21 PM
To: sunmanagers@sunmanagers.org
Subject: broadcast messages

Hi,

I am trying to disable broadcast messages that are sent to the screen and
console port. I was not able to find anything specific but I was hoping
someone could help me out. I would like to get messages to be sent still to
/var/adm/messages but I don't want the messages to be outputted to the screen
or sent to console port. By messages, I mean something like error messages.

I will post the summary once I figure this out.

Thanks

Alexei Vichnevetski
General Dynamics Canada
Test Engineering
alexei.vichnevetski@gdcanada.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:03 EDT