FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 12-30-2008, 07:45 PM
 
Default named log messages

Check /etc/syslog.conf

You may need to add something like

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none; named.none /var/log/messages



Greg




lconrad@hctc.net
Sent by: redhat-list-bounces@redhat.com
12/30/2008 01:58 PM
Please respond to
General Red Hat Linux discussion list <redhat-list@redhat.com>


To
redhat-list@redhat.com
cc

Subject
(no subject)






RH 2.4.20-31.9smp

BIND 9.5.0-P2

We've got /etc/named.conf configured with a logging statement to log to
/var/log/named.log, but we still find named also logging to
/var/log/messages, with different params.

/etc/sysconfig/named is nothing but #comments

Where/what else is sending named logging to messages?

thanks
Len








--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 12-30-2008, 08:34 PM
mark
 
Default named log messages

Greg_Wilson@aotx.uscourts.gov wrote:
> Check /etc/syslog.conf
>
> You may need to add something like
>
> # Log anything (except mail) of level info or higher.
> # Don't log private authentication messages!
> *.info;mail.none;authpriv.none;cron.none; named.none /var/log/messages
>
Do you *really* want to log info level messages?

mark

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 12-30-2008, 08:47 PM
 
Default named log messages

It doesn't really matter what you want to do with info level messages; log
them or not. The example was to show that you may need to modify
syslog.conf to specifically exclude logging named to /var/log/messages.


Greg




mark <m.roth2006@rcn.com>
Sent by: redhat-list-bounces@redhat.com
12/30/2008 03:34 PM
Please respond to
General Red Hat Linux discussion list <redhat-list@redhat.com>


To
General Red Hat Linux discussion list <redhat-list@redhat.com>
cc

Subject
Re: named log messages






Greg_Wilson@aotx.uscourts.gov wrote:
> Check /etc/syslog.conf
>
> You may need to add something like
>
> # Log anything (except mail) of level info or higher.
> # Don't log private authentication messages!
> *.info;mail.none;authpriv.none;cron.none; named.none /var/log/messages
>
Do you *really* want to log info level messages?

mark

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 12-30-2008, 09:20 PM
 
Default named log messages

>> # Log anything (except mail) of level info or higher.
>> # Don't log private authentication messages!
>> *.info;mail.none;authpriv.none;cron.none; named.none /var/log/messages

thanks.

In parallel with posting the msg, we added named.none. works.

The problem with named.none is that when named has a config error or
doesn't start (ie, doesn't get to the logging statement), we get no named
to messages at all about why name is unhappy with named.conf or whatever.

So we are playing around with which level will allow named starting errors
to show in messages.

Will still don't know why named logs according to our logging statement
AND logs to messages.

thanks,
Len



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 02:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org