# Log file viewer

**URL:** <https://forum.inductiveautomation.com/t/log-file-viewer/4068>\
**Category:** General Discussion\
**Created:** [February 25, 2012, 4:50am UTC](https://forum.inductiveautomation.com/t/log-file-viewer/4068 "2012-02-25T04:50:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Greg.Buehler](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@Greg.Buehler](https://forum.inductiveautomation.com/u/Greg.Buehler)\
**Post date:** [February 25, 2012, 4:50am UTC](https://forum.inductiveautomation.com/t/log-file-viewer/4068/1 "2012-02-25T04:50:49Z")

</div>

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](http://dl.dropbox.com/u/62345273/LogScroller.zip)

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [February 25, 2012, 10:10am UTC](https://forum.inductiveautomation.com/t/log-file-viewer/4068/2 "2012-02-25T10:10:22Z")

</div>

Hi,

i can recommend baretail ([http://www.baremetalsoft.com/baretail/](http://www.baremetalsoft.com/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.

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [February 28, 2012, 12:28am UTC](https://forum.inductiveautomation.com/t/log-file-viewer/4068/3 "2012-02-28T00:28:55Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [March 1, 2012, 9:32am UTC](https://forum.inductiveautomation.com/t/log-file-viewer/4068/4 "2012-03-01T09:32:11Z")

</div>

Why use a copy when you can use the original 😉

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.
