LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 05-27-2005, 05:49 AM   #1
mcalizo
Member
 
Registered: Aug 2003
Location: Manila, Philippines
Distribution: RH
Posts: 43

Rep: Reputation: 15
Unhappy howto network syslog with multiple log files


Hi All,

I configure one of my production server to act as a network syslog server. It is now running fine. Now the problem is all the logs are writen on /var/log/messages. This is not causing me headache to monitor this logs.

My question now is this. Is there a way to configure my syslog server in such a way that an individual host will log to a specific log file? example:

server 192.168.1.1 will log to 192.168.0.1 on /var/log/192.168.1.1
server 192.168.1.2 will log to 192.168.0.1 on /var/log/192.168.1.2
and so on.

Is this posible?


Regards,

Mike
 
Old 05-27-2005, 06:55 AM   #2
bramhastra
Member
 
Registered: May 2005
Location: India
Distribution: RHEL 4.0
Posts: 136

Rep: Reputation: 15
Why dont u write down script to maintain it
 
Old 05-27-2005, 06:58 AM   #3
auximini
Member
 
Registered: Dec 2003
Location: Calgary, AB
Distribution: Any!
Posts: 146

Rep: Reputation: 18
I would check out syslog-ng. Really easy to do with that program.
 
  


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
multiple log files in apache Red Squirrel Linux - Software 1 09-27-2005 12:42 AM
Creating Multiple Log Files koacamper Linux - Newbie 3 09-24-2005 07:24 PM
multiple C source files howto introuble Programming 2 07-31-2005 07:49 PM
Syslog server can't open log files >500mb mikeyt_333 Linux - General 2 01-11-2005 11:32 AM
Network Log Files Tezdread Linux - Security 3 08-17-2003 06:35 PM


All times are GMT -5. The time now is 11:03 PM.

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