LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-21-2008, 10:17 AM   #1
ramanika
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
searching log files in linux


Hi all,

I am a linux newbie.

I have my weblogic cluster running in linux enviornment.

I want to search for the cluster log files for the following - search for the logged information that contains exception and or error. I tried grep command but it shows only part of the logged information but not the complete sentence. Also since there are lot of log files and since they are rolling logs, it is hard for me to open each log file and do a search manually.

Thus I would like to know the linux command that shows the entire logged information that contains a search word without me having to open each log file and search.

Youe input is highly appreciated.

Thanks in advance.
 
Old 10-21-2008, 10:40 AM   #2
allez
Member
 
Registered: Jul 2008
Location: Russia/Siberia/Krasnoyarsk
Distribution: SuSE, CentOS, FreeBSD
Posts: 77

Rep: Reputation: 21
Please show here the exact command that you have used, its output, and tell us why it's haven't made you happy.
Seriously, grep/egrep is just what you need.
 
Old 10-21-2008, 11:56 AM   #3
hvc123
Member
 
Registered: Jun 2004
Posts: 31

Rep: Reputation: 16
personally i use a php script called "phplogcon" stick it on a web server and log into it. you can then add any log (text) file and output the results. you can search and whe nyou mouse hover on an entry it opens a zoom box so u can read it.
very good script google it, works a treat
 
  


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
Help please with searching files Sapper1729 Linux - General 3 01-30-2007 08:09 AM
help searching files jorasmi Slackware 3 02-02-2005 04:06 AM
Searching files on Linux dasoslukos Linux - Software 2 10-24-2004 11:12 PM
Can log files be time stamped? (such as FTP login and transfer log files) bripage Linux - Networking 6 08-08-2002 10:55 PM


All times are GMT -5. The time now is 07:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration