That means "org.springframework.web" enables all web logging including
from lower level packages such as "org.springframework.http" and modules
such as codecs from "spring-core" when those are wrapped with
EncoderHttpMessageWriter or
DecoderHttpMessageReader.
To see logging from the primary class loggers simply enable logging for "org.springframework.http" and "org.springframework.codec".
LogDelegateFactory
| Modifier and Type | Field and Description |
|---|---|
| private static final Log |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Log | |
| public static Log | Returns: the resulting composite loggerthe class for the name of the primary logger primaryLoggerClass)Create a primary logger for the given class and wrap it with a composite that delegates to it or to the fallback logger "org.springframework.web.HttpLogging", if the primary is not enabled. |
| fallbackLogger | back to summary |
|---|---|
| private static final Log fallbackLogger | |
| HttpLogging | back to summary |
|---|---|
| public HttpLogging() | |
| forLog | back to summary |
|---|---|
| public static Log forLog(Log primaryLogger) Wrap the given primary logger with a composite logger that delegates to it or to the fallback logger "org.springframework.web.HttpLogging", if the primary is not enabled. | |
| forLogName | back to summary |
|---|---|
| public static Log forLogName(Class<?> primaryLoggerClass) Create a primary logger for the given class and wrap it with a composite that delegates to it or to the fallback logger "org.springframework.web.HttpLogging", if the primary is not enabled. | |