引用手册只提到了三遍,并没有很好地列出配置选项。例如,有没有办法设置日志类别?
最佳答案
请参阅架构文档以获取可用属性;例如...
<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>
大多数 IDE 上下文辅助在创建元素时都会显示此文档。
但是,请随时打开“文档”问题 https://jira.springsource.org/browse/INT
关于java - 在哪里可以找到日志记录 channel 适配器的文档?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15098324/