Solaris syslog messages cluttering screen | Unix Linux Forums | Solaris

  Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Solaris syslog messages cluttering screen

Solaris


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 12-09-2013
admin_xor's Unix or Linux Image
admin_xor admin_xor is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 8 April 2014, 5:55 AM EDT
Posts: 452
Thanks: 13
Thanked 79 Times in 76 Posts
Wrench Solaris syslog messages cluttering screen

Well, this kind of silly but I think I am missing something. So we have this Solaris 10 server which acts as syslog server for network devices. Problem is the syslogs clutters whenever I use the
Code:
screen

utility for any work.

I am posting the conetent of
Code:
/etc/syslog.conf


Code:
# more /etc/syslog.conf
#ident  "@(#)syslog.conf        1.5     98/12/14 SMI"   /* SunOS 5.0 */
#
# Copyright (c) 1991-1998 by Sun Microsystems, Inc.
# All rights reserved.
#
# syslog configuration file.
#
# This file is processed by m4 so be careful to quote (`') names
# that match m4 reserved words.  Also, within ifdef's, arguments
# containing commas must be quoted.
#
*.err;kern.notice;auth.notice                   /dev/sysmsg
*.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages

*.alert;kern.err;daemon.err                     operator
*.alert                                         root

*.emerg                                         *

# if a non-loghost machine chooses to have authentication messages
# sent to the loghost machine, un-comment out the following line:
#auth.notice                    ifdef(`LOGHOST', /var/log/authlog, @loghost)

mail.debug                      ifdef(`LOGHOST', /var/log/syslog, @loghost)

#
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
#
ifdef(`LOGHOST', ,
user.err                                        /dev/sysmsg
user.err                                        /var/adm/messages
user.alert                                      `root, operator'
user.emerg                                      *
)
daemon.debug                    /var/log/connlog
auth.info                       /var/log/authlog
# filter for network devices 
local7.info;local7.notice;local7.warn;local7.error              /var/log/syslog_info
#BEGIN 
local0.emerg;local0.alert;local0.crit;local0.err;local0.warning;local0.notice;local0.info;local0.debug  /opt/app/data/dblog/dbeng.log
#END

Am I missing something in the config?
Sponsored Links
    #2  
Old Unix and Linux 12-09-2013
bartus11's Unix or Linux Image
bartus11 bartus11 is offline Forum Staff  
Moderator
 
Join Date: Apr 2009
Last Activity: 3 March 2015, 6:55 PM EST
Posts: 3,732
Thanks: 7
Thanked 1,150 Times in 1,120 Posts
How are you connecting to the Solaris 10 server?
Sponsored Links
    #3  
Old Unix and Linux 12-09-2013
MadeInGermany MadeInGermany is offline Forum Advisor  
Registered User
 
Join Date: May 2012
Last Activity: 3 March 2015, 5:00 PM EST
Location: Simplicity
Posts: 2,221
Thanks: 153
Thanked 675 Times in 608 Posts

Code:
man sysmsg

shows that it is certainly /dev/sysmsg that sends the given log levels to "console" devices.
The easiest way is to start the screen utility on a non-console device.
Shouldn't screen by default pick a simple /dev/pts/* ?
    #4  
Old Unix and Linux 12-10-2013
admin_xor's Unix or Linux Image
admin_xor admin_xor is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 8 April 2014, 5:55 AM EDT
Posts: 452
Thanks: 13
Thanked 79 Times in 76 Posts
Quote:
Originally Posted by bartus11 View Post
How are you connecting to the Solaris 10 server?
I am SSH-ing to the box.
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Unix or Linux Image More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Login Screen in Solaris 11 goose25 Solaris 3 01-27-2012 08:03 PM
Script that prints 2 messages to a screen session kylecn Shell Programming and Scripting 1 07-31-2011 09:36 AM
Solaris 10 screen capture TomH Solaris 2 06-03-2010 08:26 PM
printing messages on the screen when background process is going on! smarty86 Shell Programming and Scripting 3 11-03-2009 11:57 PM
Solaris 9 login Screen not loading deaconf19 Solaris 16 07-23-2008 12:08 AM



All times are GMT -4. The time now is 07:14 AM.