Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syslog prints to console 2

Status
Not open for further replies.

timjarland

Technical User
Feb 21, 2001
32
US
Any idea on setting in syslog.conf (or wherever) that would cause all syslog messages to print to the console? Thanks
 
Add a line for each type of alert you want sent to the system console like this:

*.info /dev/console
*.alert /dev/console
*.emerg /dev/console

Or if you want the message to go to a specific user on _any_ console try this:

*.info root,yourusernamehere,somebodyelse

you can specify multiple users by using a comma in-between...

Note that you can use more than one line for each type of message... like this:

*.info /var/adm/syslog/syslog.log
*.info /dev/console
*.info root,yoursusernamehere,somebodyelse

Hope this helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top