Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-21-2010, 01:31 AM   #1
Registered: Apr 2010
Posts: 52

Rep: Reputation: 2
How to enable system logging in linux

Hello Friends
How to enable system logging in linux. can i check the logfile remotely of another system on same network
Thanks & Regards
Old 10-21-2010, 01:42 AM   #2
Senior Member
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,148
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
By default almost all logfiles are located under /var/log directory (and subdirectory). You can change to this directory using cd command but you need to be the root user. You can use less, more, cat or tail command to see the logs.

Go to /var/logs directory:# cd /var/logsView common log file /var/log/messages using any one of the following command:# tail -f /var/log/messages

# less /var/log/messages
# more -f /var/log/messages
# tail /var/log/messages
You can set Up A Central Syslog Server, check the logfile remotely of another system on same network, as mentioned in this links:
Old 10-22-2010, 10:25 AM   #3
Registered: Jun 2010
Location: India
Distribution: Redhat
Posts: 68

Rep: Reputation: 1
client side:vim /etc/syslog.conf

write in the bottom

*.* @server ip

Server side : vim /etc/sysconfig/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
enable separate logging for watchdog Buddhike G Linux - Software 1 04-07-2009 05:32 PM
Enable maximum logging on RHEL5 matthias.kretschmer Linux - Newbie 1 02-27-2008 04:10 AM
Enable detailed cron logging? OneBinary Debian 1 01-02-2006 06:56 PM
Howto to enable logging in Knoppix 3.8? bigrigdriver Linux - Software 5 10-05-2005 10:38 PM
Do you enable full sendmail logging? hbt Linux - Software 1 12-19-2004 04:06 PM > Forums > Linux Forums > Linux - Newbie

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

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