Types of log levels in Tomcat 7

There are seven levels defined for Tomcat logging services (JULI). They can be set based on the application's requirement. The following figure shows the sequence of the log levels for JULI:

Types of log levels in Tomcat 7

Every log level in JULI has its own functionality. The following table shows the functionality of each log level in JULI:

Log level

Description

SEVERE(highest)

Captures exception and Error

WARNING

Warning messages

INFO

Informational message, related to the server activity

CONFIG

Configuration message

FINE

Detailed activity of the server transaction (similar to debug)

FINER

More detailed logs than FINE

FINEST(least) ...

Get Apache Tomcat 7 Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.