1

参考手册只提到了三遍,并没有很好地列出配置选项。例如,有没有办法设置日志记录类别?

4

1 回答 1

2

有关可用属性,请参阅架构文档;例如...

    <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

于 2013-02-26T22:37:05.243 回答