Java Logging: Logger Hierarchy
Table of Contents Filters and Handlers in the Logger Hierarchy Log Levels of Loggers in the Hierarchy The Logger 's used in your application are typically organized into a hierarchy, as mentioned elsewhere in this tutorial. This text will take a closer look at how this Logger hierarchy works. When you create a Logger you pass a name to the Logger.getLogger() method. Here is an example: Logger logger = Logger.getLogger("com.jenkov.web"); In this example the name of the created Logger is com.jenkov.web . The name indicates a hierarchy of Loggers . Each . (dot) in the name marks a level in the