Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Appendix C. Logging Information and Recipes


C.1. Log Level Descriptions

Table C.1, “log4j Log Level Definitions” lists the typical meanings for different log levels in log4j. Your application may interpret these levels differently, depending on your choices.
Expand
Table C.1. log4j Log Level Definitions
log4j Level JDK Level Description
FATAL
The Application Service is likely to crash.
ERROR SEVERE
A definite problem exists.
WARN WARNING
Likely to be a problem, but may be recoverable.
INFO INFO
Low-volume detailed logging. Something of interest, but not a problem.
DEBUG FINE
Low-volume detailed logging. Information that is probably not of interest.
FINER
Medium-volume detailed logging.
TRACE FINEST
High-volume detailed logging.

Note

The more verbose logging levels are not appropriate for production systems, because of the high level of output they generate.

Example C.1. Restricting Logged Information to a Specific Log Level

        <!-- Show the evolution of the DataSource pool in the logs [inUse/Available/Max]-->
<category name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool">
  <priority value="TRACE" class="org.jboss.logging.XLevel"></priority>
</category>
			
			
			

Copy to Clipboard Toggle word wrap
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat