LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2007, 04:38 AM   #1
Buddhike G
Member
 
Registered: Jun 2007
Distribution: RHEL, CentOS, Solaris
Posts: 63

Rep: Reputation: 16
setting up a syslog server


Hi !

I want to setup a syslog server which stores logs of a another RHEL box to a prespecified file (such as /var/log/PC1.log).

I am able to store remote hosts logs into the default log files of the syslog server (such as /var/log/messages ).

But i want to store them in a file which is specified by me.

What i did to store the logs in the default file in syslog server is just added the following line to the syslog.conf file in the CLIENT (HOST) machine.

*.debug <Tab><Tab> @syslog-server-ip


Then all the logs are stores at var/log/messeges in the syslog server. but i want to store them at /var/log/PC1.log (which was created by me).

thanx for any help

Buddhike G.
 
Old 11-05-2007, 09:15 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
You need to install syslog-ng, if you don't already have it. Check out the man pages for info on how to set up exactly what you're looking for.
 
  


Reply



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
Syslog server sakthi.s Linux - Server 2 10-23-2007 05:53 AM
Syslog server shan_nathan Linux - Server 4 08-30-2007 01:52 AM
LXer: Centralized Syslog Server Using syslog-NG LXer Syndicated Linux News 0 04-28-2006 06:21 PM
Syslog Server MrJoshua Linux - Software 1 10-26-2005 02:56 PM
Setting up a Syslog Server salscozzari Linux - Networking 2 12-23-2003 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:51 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