LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-15-2004, 07:57 AM   #1
slimak
LQ Newbie
 
Registered: Jul 2004
Location: Poland
Distribution: Debian
Posts: 21

Rep: Reputation: 15
syslogd and named logs - separate file


HI!
Logs from named are going to the syslog.log in /var/log/ I want them to be in separate file maybe /var/log/named.log how can i change it? How the line in syslogd.conf will look like?

named.* /var/log/named.log ?

or

daemons.named.* /var/log/named.log ?

could you please tell me which is good? and what is the difference between this too - i think that both are correct.

Any link to good howto about syslog would be great - my friend google says only very basic things about syslog


Thanks for any answers :-)
 
Old 11-15-2004, 08:11 AM   #2
yuray
Member
 
Registered: Apr 2003
Location: Russia, Khotkovo
Distribution: Debian
Posts: 146

Rep: Reputation: 15
daemon.err;daemon.info /var/log/named.log
 
Old 11-15-2004, 08:54 AM   #3
slimak
LQ Newbie
 
Registered: Jul 2004
Location: Poland
Distribution: Debian
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by yuray
daemon.err;daemon.info /var/log/named.log
but in this way all the daemons logs will go to the named.log - right? what about postfix, ssh, proftpd i don't want all of them to go to the named.log file.
 
Old 11-16-2004, 01:51 AM   #4
yuray
Member
 
Registered: Apr 2003
Location: Russia, Khotkovo
Distribution: Debian
Posts: 146

Rep: Reputation: 15
You can parse logfile and get named records only.
Or you can set log file in named.conf directly.
man named.conf
...
LOGGING
logging {
channel string {
file log_file;
....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUSE 9.1: named.conf works, but including separate conf files doesn't??? registering Linux - Distributions 0 06-09-2004 04:03 PM
Separate firewall logs and general logs dominant Linux - General 3 04-20-2004 01:26 AM
syslogd: how to redirect incoming logs psychobyte Linux - Networking 1 02-22-2004 12:31 AM
In which file the syslogd is called? zhu_liheng Linux - Newbie 2 10-01-2003 09:29 PM
Im running syslogd. I also have my PIX firewall logs being written to my linux syslog adamrau Linux - Security 2 12-19-2001 01:38 PM


All times are GMT -5. The time now is 06:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration