该参考手册只提到了三遍,并没有很好地列出配置选项。例如,是否可以设置日志记录类别?
最佳答案
有关可用属性,请参见模式文档。例如...
<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