<int:logging-channel-adapter>
имеет атрибут logger-name
:
<xsd:attribute name="logger-name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
Provide a name for the logger. This is useful when there are multiple logging Channel Adapters configured,
and you would like to differentiate them within the actual log. By default the logger name will be the
fully qualified class name of the LoggingHandler implementation.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
Так что, даже если у вас есть logging.level.org.springframework=WARN
, вы все равно можете настроить что-то вроде logging.level.myLogger=INFO
и иметь это в канальном адаптере:
<int:logging-channel-adapter id="arrowEyeTransformedRequestLogger"
expression="'ArrowEye(FP-024)---- transformed ArrowEye request---- \n'.concat(payload)"
logger-name="myLogger"
level="INFO" />