Latest LQ Deal: Latest LQ Deals
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-2008, 11:17 AM   #1
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, 11:40 AM   #2
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, 12:56 PM   #3
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


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 09:09 AM
help searching files jorasmi Slackware 3 02-02-2005 05:06 AM
Searching files on Linux dasoslukos Linux - Software 2 10-25-2004 12:12 AM
Can log files be time stamped? (such as FTP login and transfer log files) bripage Linux - Networking 6 08-08-2002 11:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:30 AM.

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