? QA Design Gurus: Monitoring application logs

Mar 25, 2016

Monitoring application logs

Logs have crucial information about the application behavior. Messages in the logs have tags and are shown under FATAL, ERROR, WARNING and INFO sections. And these messages could be related to syntax, improper usage, unhandled exceptions, data issues and processing. Most often the FATAL and ERROR messages get enough attention by a Software tester, but some of the most important messages that are listed as WARNING and INFO messages are ignored. The probable reason is that there are some hundreds of different types of WARNING and INFO messages, and most of them are just informative and not considered as important, and developer or tester gets overwhelmed to check all of them. But there are certain WARNING and INFO messages that ought to be checked as they are as equally important as FATAL / ERROR messages and indicate potential issues in the application code or logic or data.

Upon looking for the issues that one need to check in the log, there are many (in hundreds), but those messages are worth checking, every time a application is run. Apart from letting the user know the syntax mistakes in the application, the log file also provides vital information about the correctness of the logic / algorithm used in the application.

It might not practical be to check all the messages in application log files every time they were run, considering the huge volume of the log files, however there are certain messages and information that must be checked to make sure that there are no / minimal issues in the application behavior. Software testers must pay attention to these messages / information in the log and always must check them keeping in mind the consequences of ignoring them.

There are few nice tools which do all the work for you.

http://www.hootech.com/WinTail
https://www.sumologic.com

Some extremely powerful features are:
1. Filters that makes sure only lines with text of your choice are shown
2. Email notification whenever certain text is found
3. Monitoring many files at once
4. Highlight specific text (this enables you to highlight functional way points of the application)
5. Easy to see when a log file has been updated
6. Open the original log file in only one click

No comments:

Post a Comment