When logging, logged messages are differentiated by their importance. In most logging frameworks we differentiate the following levels of importance:
DEBUG
- Lowest level. Fine-grained statements concerning program state, typically used for debugging. Used primarily by the developers.INFO
- Informational statements concerning program state, representing program events or behavior tracking. May be used when tracking user activity by the support staff.WARN
- Statements that describe potentially harmful events or states in the program.ERROR
- Statements that describe non-fatal errors in the application; this level is used quite often for logging handled exceptionsFATAL
- Statements representing the most severe of error conditions, assumedly resulting in program termination.
Got an article suggestion?
Let us know
Explore more
-
How to view log output using docker-compose run?
You can start Docker compose in detached mode and attach yourself to the logs of all containers later. If you're done watching logs you can detach yourself from the logs output witho...
Questions -
How to view syslog in Ubuntu?
Linux has a special directory for storing logs. This directory contains collected logs from the operating system itself, services and other applications running on the system. The actual location d...
Questions -
Log analyzer tools for IIS web server logs
IIS webserver logs each and every access into a log file. To better understand the data from the log, little help is needed in the form of a log analyzer. Log analyzer is a software that allows you...
Questions