logging好象是SUN自己开发的比较新的日志包,不知道APACHE这个是不是根据SUN的增加的,log4j是APACHE以前的日志包。
解决方案 »
- 关于oracle拼接SQL语句中的单引号问题
- IBAITS的DAO 到 JSP 上调用 报错 ...
- 请教关于用replaceAll正则替换的问题
- 关于一个WEB。XML的配置问题,请高手帮忙回答
- 用hibernate开发的网页性能有问题?
- 关于weblogic问题
- 请教WEBWORK高手!!!!!!!!!!!!!!!
- EJB的Client问题,成功马上给分.
- 请问struts下怎么用formbean接受页面的多选下拉框
- 什么情况下会出现这样的错误:java.net.SocketException??
- weblogic8.1下如何配置ORACLE连接池
- 为什么Tomcat5.0.29启动一段时间后,占用我80%以上的cpu,感觉不对劲.
Commons-Logging is a wrapper around a variety of logging API implementations.
看看说得多清楚~Commons-logging可以理解对现在比较流行的多种日志机制的一个包裹。The Logging package is an ultra-thin bridge between different logging libraries. Commons components may use the Logging API to remove compile-time and run-time dependencies on any particular logging package, and contributors may write Log implementations for the library of their choice.这段话就把使用commons-logging的好处描述得很清晰了~======================================================================+---------+ +-----------------+ +-------------------+
| Your |-----> | Commons-Logging |-------> | Concreate Logging |
| Program | +-----------------+ +-------------------+
+---------+ log4j..etc
楼上正解
可以说commons-logging是个好冬冬