top of page
  • Writer's picturePhil Ly

Building a Web Interface to a centralized view of Application Logs with LogWatch

Updated: Mar 26

System and Application Logs

Managing and analyzing log data proved inefficient due to the sheer volume and dispersion of log files across various services and applications. Locating specific entries often necessitated time-consuming manual searches through individual log files.

TIC LogWatch is a NonStop application log monitoring product that detects anomalies and raises alerts to enable proactive handling of errors. LogWatch is relevant in many different use cases, including monitoring EMS logs, 3rd party products like TIC's TeleMail, NuWave product logs, comforte’s Escarps logs, and many others. One of our LogWatch users shares how he has built a useful Web interface to view his application logs easily, including EMS and TIC TeleMail.


The idea for this application was to create an easy way for our development team to find log files quickly and easily all in a single place.  The application allows the user to pick a log file from the list and it would simply display as much data from the log as could be read in just 10 seconds.  The most recent events are always on top.  As you scroll down, you can click to see more data.  You can even specify a starting date/time in the text box at the top.  This will allow you to quickly jump to the logs several days in the past. Built-in filtering allows the user to see only lines that contain keywords.


LogWatch and Log Data

  • I use LogWatch to pull information from EMS and Telemail logs then write them to a single multi-purpose log file. 

  • The logfile key is an application ID plus the date/time to the millisecond. 

  • Then the LOG data can be a long string of text or any number of delimited fields to be displayed. 

  • The delimiters allow data to be presented in a web grid with headings. 

Custom COBOL programs
  • This log application has a small config file that identifies the log ID, Title, Headings, and log retention period so that the logs will be constantly trimmed according to retention needed.

  • An additional Log service was built to allow all other applications to write to this log file in a simple way using as few lines of code as possible.

  • Another service was built to feed data to a web application that displays these logs using a straightforward interface.


A browser-based GUI that allows easy access to application logs, organized in a standard easy-to-understand format. For example, developers can point and click to view EMS logs for the past 90 days or to view TeleMail errors for the past 60 days.

system and application logs

Point and click to view EMS

Point and click to view EMS

Point and click to view TeleMail logs 

TeleMail Logs


The centralized log viewer significantly enhanced our log management workflow:

  • Improved Efficiency: By consolidating logs, we eliminated the need to search through numerous individual files, streamlining the process of locating relevant information.

  • Enhanced Search Capabilities: Logwatch's filtering mechanisms enabled focused searches based on specific keywords or date ranges, facilitating targeted analysis of log data.

  • Optimized Log Presentation: The customized web interface provided a clear and structured view of log entries, improving the comprehension and analysis of log data.


Logwatch serves as a valuable tool for centralizing and managing logs. Its features significantly improve the efficiency and effectiveness of log analysis, making it a valuable asset for any organization grappling with managing diverse log data. Contact Us today at for more information.

Do you find this tutorial blog helpful? Let us know what you think, and how we can improve it. Don’t forget, that you can subscribe to our blogs to get automatic email notifications when a new blog is available.

Read More blogs
info image

Feedback please

Do you find this tutorial blog helpful? Let us know what you think, and how we can make it even better. Don’t forget, you can subscribe to our blogs to get automatic email notification when a new blog is available.

Phil Ly Profle image

Phil Ly is the president of TIC Software, a leading provider of software and services for the NonStop community focused on NonStop application modernization. Under Phil's guidance, TIC Software has a proven track record of helping clients seamlessly integrate NonStop with next-generation technologies. A recognized technical leader, Phil is passionate about empowering organizations to unlock the full potential and longevity of their NonStop platform through innovative solutions.




bottom of page