log4j 2.0版本中怎么没有jdbcAppender了?
本想将现在程序中用的log4j版本从1.2.9升级到2.0,但是发现2.0中没有JdbcAppender了
想问一下2.0中,JdbcAppender功能能应该如何实现?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
本想将现在程序中用的log4j版本从1.2.9升级到2.0,但是发现2.0中没有JdbcAppender了
想问一下2.0中,JdbcAppender功能能应该如何实现?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
Log4j 2 is now available for testing. The API for Log4j 2 is not compatible with Log4j 1.x, however an adapter is available to allow applications to continue to use the Log4j 1.x API. Adapters are also available for Commons Logging and SLF4J.
意思是可以并存,是吗?
Log4j 2 is now available for testing. The API for Log4j 2 is not compatible with Log4j 1.x, however an adapter is available to allow applications to continue to use the Log4j 1.x API. Adapters are also available for Commons Logging and SLF4J.