LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-02-2006, 07:52 AM   #1
rei
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
Question syslog to multiple servers


is there any way i can syslog one same log to 2 syslog servers?

i tried out with the following settings:

Code:
local7.=info                            /home/mylog/log1
local7.=info                            @server1.com

local6.=info                            /home/mylog/log1
local6.=info                            @server2.com
but log is only syslog-ed to server1 and not server2

where did i make the mistake?


i tried with
Code:
local7.=info                            /home/mylog/log1
local7.=info                            @server1.com,server2.com
or
Code:
local7.=info                            /home/mylog/log1
local7.=info                            @server1.com
local7.=info                            @server2.com
too but failed..
 
Old 08-03-2006, 04:55 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'd suggest switching to syslog-ng, you can have as many destinations of as many types as you want (file, remote system, pipe etc...)
 
  


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
howto network syslog with multiple log files mcalizo Red Hat 2 05-27-2005 07:58 AM
logging and reporting on multiple firewalls to a syslog server cyph3r7 Linux - Security 2 04-13-2004 05:16 PM
Where're location for syslog servers. phanlopc Linux - Networking 0 10-15-2003 11:38 PM
Multiple X servers Stephanie Linux - General 2 02-27-2003 03:32 PM
multiple X servers acid_kewpie Linux - General 1 11-11-2001 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:35 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration