Search found 3 matches

by Chastel
Mon Dec 15, 2003 9:36 pm
Forum: Beginners
Topic: How to monitor application log file in real time ?
Replies: 9
Views: 16073

Command Line Tools

Sweet ! Ok I searched around some more, and found the binaries I wanted seperately - tail.exe and grep.exe - now I can do the following: d:\temp\tail -f d:\my_server_app\server.log | grep stopped >> myfile.txt This will append each line where it finds "stopped" which is unique in my case and gives s...
by Chastel
Mon Dec 15, 2003 6:01 pm
Forum: Beginners
Topic: How to monitor application log file in real time ?
Replies: 9
Views: 16073

Tail or not to Tail, that is the question ! ;)

Hmm ok both good ideas ! I am familiar with Cygwin, supposing I use that approach, I'm not sure how to ' keep my place ' in my copy of the server log ( myfile.log ) i.e. tail -f | grep stopped Will blurb " DateStamp / The server has stopped " to my file. Sorry, I posted this in beginners because I'm...
by Chastel
Mon Dec 15, 2003 3:24 pm
Forum: Beginners
Topic: How to monitor application log file in real time ?
Replies: 9
Views: 16073

How to monitor application log file in real time ?

I'm looking to " tail -f " a log file, or watch it as another server application writes entries to it. There are certain lines like " server stopped " or " server started " that I want to be able to parse out from the log, and then take some other action depending on which case I hit on. Post-proces...
Sign up to our newsletter for free automation tips, tricks & discounts