Log Viewer

 

A Text File Viewer


 

Log Viewer is a custom made freeware tool for viewing text files, specifically log files. The text viewing portion of the GUI is custom made for improved memory usage and file navigating performance on very large files.

The tool provides built-in greping (show and hide filtering on a line per line basis), color highlighting and multiple search strings.

Other features include:

  • Column selecting, which is very useful when selecting lines of text from a log file (i.e. it allows you to ignore any header portion of a set of log entries when selecting lines for copying or saving).
  • Saving and Loading of Grep, Highlighting and Search settings.
  • Modifying the default Grep, Highlighting and Search settings.
  • Split window viewing.
  • Drag-and-drop file loading.
  • Highlighting of all text that matches the selected text.
  • Line tagging. Tagged lines are not impacting by grepping.
  • Search bounding based on tagged lines.
  • Goto a specific line in the file.
  • Save selected text to a new file.
  • Save grepped (or filtered) lines to a new file.
  • Reload file, which is useful if the file is dynamically changing (this is not like the unix tailing but rather a manual reload of the current file).
  • Recently opened files shortcut.
  • Separate threads for file viewing, reading, grepping and searching to provide immediate text viewing when loading or searching large files.
  • NEW Allow the use of Java Regular Expressions for grep, highlight, and search text patterns.
  • NEW Display time string patterns in relative time rather than absolute time. The interface allows one to specify the time string format and the base time from which all other time strings found in the file will be displayed relative.
  • NEW Use of icons for various buttons. The icons were downloaded from http://pixel-mixer.com.

Download and Installation


Download the Log Viewer
Version 1.5.2


Extract the executable to a directory of your choosing. Associate LOG files to this executable. Double click on associated files to view the log file.


System Requirements

Basically any Microsoft Windows Operating System that supports WIN32 executables.

Java must be installed to use this program.
Download Java.


Licensing and Problem Reports

Log Viewer is distributed as freeware.

If you use this software and enjoy it, then feel free to make a donation to acknowledge my effort on Paypal.

Make donations to "fivestarmoon@live.ca".

Email problem reports and/or enhancement requests to fivestarmoon@live.ca and I will do my best to incorporate fixes and enhancements into the next release.


 

Release Notes

Version 1.5.2 (current release)
 
New features:
  • None
Fixes:
  • Simple search (ie. not regexp) does not find search strings that are at the start of a line.
 
Version 1.5.1
 
New features:
  • Allow the use of Java Regular Expressions for grep, highlight, and search text patterns.
  • Display log time strings in relative time rather than absolute time. The interface allows one to specify the time string format and the base time from which all other time strings found in the file will be displayed relative.
  • Use of icons for various buttons. The icons were downloaded from http://pixel-mixer.com.
Fixes:
  • None
 
Version 1.4.0
 
New features:
  • Shortcut panel to allow easy access to functions for the currently selected text. The panel also provides button to scroll the display to show the line containing the cursor position.
  • Highlighting of any text that matches the currently selected text.
  • Show the full file path for previously opened files.
  • Increased the Java Virtual Machine maximum heap size from 256 MB to 512 MB.
Fixes:
  • Modified scroll wheel to be 8 lines rather than 1 line per scroll tick.
  • Corrected background thread problems with goto line and tag traversal buttons.
 
Version 1.3.3
 
New features:
  • None.
Fixes:
  • Fixed problem where Save settings would change the default settings.
 
Version 1.3.2
 
New features:
  • Add full saving and loading of grep / highlight / search settings (version 1.2 grep settings file format supported).
  • Added ability to change the default grep / highlight / search settings.
  • Remembering the window size and previous (or recent) file listings.
  • Add tagging of lines. Tagged lines are highlighted in black and are not impacted by grep. The tagged lines can also be navigated via buttons on the util panel.
  • Added CTL-Home (goto start of file) and CTL-End (goto end of file).
  • Improved caret position graphic. More inline with common text editors.
  • Added panel to show information about the current file including: full file path, number of lines read, maximum number of characters in a line, number of lines displayed as per grep and tags, maximum number of characters per line displayed as per grep and tags, and the caret position both in the file & display.
  • Reload or refresh the file.
  • Apply all grep patterns with one button.
Fixes:
  • Removed overlay text. Highlighted status text instead.
 
 
Version 1.2
 
New features:
  • Overlay text on view for when search is wrapping or when the search is not found.
  • Cursor position maintained across greps (if cursor line is not shown then closest line gets the cursor).
  • Used built in accelerators for CTL-key functions and search short cuts.
  • Added saving and loading of grep patterns.
Fixes:
  • File open dialog navigation directory starts in the directory of the currently opened file .
 
 
Version 1.1
 
New features:
  • Split view capability.
  • CTL-F (or "/") search shortcut.
  • F3 (or "n") search next shortcut.
  • F4 (or "p") search previous shortcut.
  • Added Utility pane with a GOTO line capability.
  • Added previous file history (does not maintain history across instances of the program).
Fixes:
  • Copying past end of file with mouse selected region (previous version raised an exception).
  • Hitting enter in search pattern text field widget performs an automatic search next.
 
 
Version 1.0
 
New features:
  • First Release.