LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 06-13-2007, 11:35 AM   #1
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Question about system logging...


Hello all,

I'm getting used to Solaris, and we have one Red Hat Enterprise Linux 3 (and more soon to come). And I have a question...

On Solaris you can log information in /var/adm/messages and you can add them by using the logger -p local5.info command (I use them heavily in shell scripts).

What is the equivalent of this in Linux? Any help would be great. Thanks

-custangro
 
Old 06-13-2007, 01:26 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
/var/log/messages

See the logger command for details on configuring logging in Linux. You can get more by reading the manual pages with:

man logger
man syslogd
 
Old 06-13-2007, 04:13 PM   #3
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979

Original Poster
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Thank you
 
  


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
Is it ok to turn system logging off? servnov Linux - Newbie 1 08-15-2005 03:12 PM
X hangs system when logging out cd83w Linux - Hardware 1 02-01-2004 11:05 PM
logging system failed pangfai Linux - Security 1 05-29-2003 04:54 AM
HTML System Logging Utility robeb Linux - Security 2 03-16-2003 11:53 PM
System Hang when logging in RedHat 8.0 surfer888 Linux - Software 2 03-15-2003 06:47 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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