LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-08-2010, 05:58 AM   #1
life008
LQ Newbie
 
Registered: Jul 2010
Location: Delhi
Posts: 16

Rep: Reputation: 0
syslog problem


Hi to all

Kindly help,,actually i m using redhat5 and this is syslog server where i get my all device log file in /var/log/messagge...and i want to create separate log file for each device....so it can be through syslog
 
Old 09-08-2010, 06:52 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Quote:
Originally Posted by life008 View Post
Hi to all

Kindly help,,actually i m using redhat5 and this is syslog server where i get my all device log file in /var/log/messagge...and i want to create separate log file for each device....so it can be through syslog
Device log?? As i know in redhat /var/log/message file store info log messages.

Can you elaborate more?
 
Old 09-08-2010, 06:56 AM   #3
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
If you want to store every clients log in separate dir/file you can use syslog-ng or rsyslog server on log server.

Regards,
 
Old 09-10-2010, 03:16 AM   #4
life008
LQ Newbie
 
Registered: Jul 2010
Location: Delhi
Posts: 16

Original Poster
Rep: Reputation: 0
syslog server issue

Thanks to all for replying

can this possible into this syslog server becoz its not possible to install any package in my organization. only i can work on syslog server.


NOTE:I Want that each device log file should be on separate file on servers only throw syslog server.becoz i dont have rights to install any other package.
 
Old 09-10-2010, 11:28 PM   #5
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Quote:
Originally Posted by life008 View Post
Thanks to all for replying

can this possible into this syslog server becoz its not possible to install any package in my organization. only i can work on syslog server.


NOTE:I Want that each device log file should be on separate file on servers only throw syslog server.becoz i dont have rights to install any other package.
This facility is not available in syslog. so you have to install rsyslog or syslog-ng on syslog server (client can work with standard syslog ) to store logs in separate files.
 
Old 09-13-2010, 02:25 AM   #6
nsb58
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Rep: Reputation: 0
yes you can do it in REDHAT 5

on server side you should enables -r option in /etc/sysconfig/syslog under

SYSLOGD_OPTIONS="-r -m 0"

on client side you just have to redirect the logs to the log server

e.g
/etc/syslog.conf

*.* @Serverip

all the logs will go to /var/log/messages on the server

you can also create seperate file for specific log types

mail.info /var/log/email
cron.info /var/log/crontab


Hope this will help you
 
  


Reply

Tags
syslog


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
syslog problem hhnn21 Linux - Newbie 2 04-21-2010 07:20 AM
I need help getting syslog to log remotely, this is just the regular syslog. abefroman Linux - Software 2 06-05-2008 11:36 AM
Syslog problem Filozoff Linux - Server 4 05-22-2007 03:49 AM
Syslog problem jackpal Fedora 1 01-05-2007 12:46 PM
LXer: Centralized Syslog Server Using syslog-NG LXer Syndicated Linux News 0 04-28-2006 06:21 PM


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