如何为log4jdbc配置log4j2.xml? [英] How to configure log4j2.xml for log4jdbc?

查看:607
本文介绍了如何为log4jdbc配置log4j2.xml?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道如何配置log4j2.xml文件以使用log4jdbc吗?我已经搜寻了几个小时,但似乎找不到任何东西.

Does anyone know how to configure the log4j2.xml file to use log4jdbc? I have been searching for several hours and I can't seem to find anything.

推荐答案

从beta5开始,Log4j 2.0不提供JDBC Appender.但是,团队正在研究一个,随后的发行版可能包含一个.

As of beta5, Log4j 2.0 does not offer a JDBC Appender. However, the team is working on one and it is likely that a subsequent release will contain one.

这还意味着:如果您有任何功能要求,想法或意见,现在是让团队知道的好时机!

Which also means: if you have any feature requests, ideas or comments, now would be a good time to let the team know!

开发邮件列表,用户邮件列表或Jira问题跟踪器都是使您的声音被听到的好地方.

The dev mailing list, user mailing list or Jira issue tracker are all fine places to get your voice heard.

更新: 从beta 7开始,Log4j2提供JDBC,JPA和NoSQL数据库附加程序.

Update: As of beta 7, Log4j2 offers JDBC, JPA, and NoSQL database appenders.

这篇关于如何为log4jdbc配置log4j2.xml?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆