It is currently Mon Sep 01, 2014 5:50 pm

Post new topic Reply to topic  [ 4 posts ] 
 Log file viewer 
Author Message

Joined: Tue May 31, 2011 6:27 am
Posts: 313
Location: Minnesota
Post Log file viewer
I've been building some scripts in the gateway, but you have to dig into the wrapper.log file to see the output of any 'print' statements. Opening and closing the log file gets very annoying so I built a simple log viewer that will auto scroll through a file as new items are added.

I present the amazingly simple Log Scroller:
Log Scroller

Fri Feb 24, 2012 8:50 pm

Joined: Tue Jan 24, 2012 10:58 am
Posts: 231
Post Re: Log file viewer

i can recommend baretail ( for this purpose. The exe is quite small and requires no installation. The free version supports custom highlighting, and it is really fast, even with big logs.

Sat Feb 25, 2012 2:10 am

Joined: Wed Apr 18, 2007 11:00 am
Posts: 645
Location: Sacramento Ca.
Post Re: Log file viewer
I use WinTail, but I've never gotten into any of the extra features. It automatically scrolls to the bottom of the file every time it updates. It's a nice way to view the wrapper.

Robert McKenzie
Inductive Automation
Technical Support

Mon Feb 27, 2012 4:28 pm
Profile WWW

Joined: Fri Aug 03, 2007 11:39 am
Posts: 626
Location: Devon, England
Post Re: Log file viewer
Why use a copy when you can use the original :wink:

Any Posix-compliant operating system (Linux, OSX etc.) will have a version of tail.

Simply run
tail -f -n 20 filename
to follow the last 20 lines of the log file in a terminal window.

DataCapture Ltd.

Thu Mar 01, 2012 1:32 am
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: