简体   繁体   English

将AsyncAppender添加到log4j.properties

[英]Adding AsyncAppender to log4j.properties

I am trying to add AsyncLogger to log4j.properties. 我正在尝试将AsyncLogger添加到log4j.properties。 I have found examples of adding AsyncLogger to lo4j.xml file, but not to log4j.properties. 我找到了将AsyncLogger添加到lo4j.xml文件而不是log4j.properties的示例。 Can you please let me know how to add it. 您能否让我知道如何添加它。 Please provide a sample log4j.properties entry for AsyncLogger. 请为AsyncLogger提供一个示例log4j.properties条目。

Thanks 谢谢

您不必通过代码或XML配置AsyncAppenders

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM