`

commons-logging

阅读更多
我想,这个包是Apache开源里面用的最多的包,被各种开源使用,因为这里使用发现机制。


1.	Cached  


2.	SystemProperty  


3.	Service  


4.	FileProperty  


5.	default  



那么优先级最高的使用System.setProperty,接下来是Service方式配置实现, 还有一种,也就是大家用的最多的commons-properties.propery, 这种方式最方便.
如果都没有,那么使用JDK14Logger实现。

可能有的人把log4j的jar加到项目组,就能用log4j了,有的呢还需要制定commons-properties, 还有的是用System属性也无效。

这里有一点要注意,有的服务器,第三方jar可能会重写LogFactoryImpl, 如果你使用Apache的实现,只需要添加jar就可以了,这也是为什么使用人多的原因,方便啊。
而且也渐渐成为了标准。
分享到:
评论

相关推荐

    commons-logging.jar

    commons-logging-1.0-javadoc.jar, commons-logging-1.0.1-javadoc.jar, commons-logging-1.0.1.jar, commons-logging-1.0.2-javadoc.jar, commons-logging-1.0.2.jar, commons-logging-1.0.3-javadoc.jar, commons-...

    commons-logging-1.2-API文档-中英对照版.zip

    赠送jar包:commons-logging-1.2.jar; 赠送原API文档:commons-logging-1.2-javadoc.jar; 赠送源代码:commons-logging-1.2-sources.jar; 包含翻译后的API文档:commons-logging-1.2-javadoc-API文档-中文...

    commons-logging-1.1.3-API文档-中文版.zip

    赠送jar包:commons-logging-1.1.3.jar; 赠送原API文档:commons-logging-1.1.3-javadoc.jar; 赠送源代码:commons-logging-1.1.3-sources.jar; 赠送Maven依赖信息文件:commons-logging-1.1.3.pom; 包含翻译后...

    commons-logging-1.2-API文档-中文版.zip

    赠送jar包:commons-logging-1.2.jar; 赠送原API文档:commons-logging-1.2-javadoc.jar; 赠送源代码:commons-logging-1.2-sources.jar; 包含翻译后的API文档:commons-logging-1.2-javadoc-API文档-中文...

    commons-logging-1.1.1-API文档-中文版.zip

    赠送jar包:commons-logging-1.1.1.jar 赠送原API文档:commons-logging-1.1.1-javadoc.jar 赠送源代码:commons-logging-1.1.1-sources.jar 包含翻译后的API文档:commons-logging-1.1.1-javadoc-API文档-中文...

    spring-framework & commons-logging

    spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & ...

    commons-logging-1.1.3-API文档-中英对照版 (2).zip

    赠送jar包:commons-logging-1.1.3.jar; 赠送原API文档:commons-logging-1.1.3-javadoc.jar; 赠送源代码:commons-logging-1.1.3-sources.jar; 赠送Maven依赖信息文件:commons-logging-1.1.3.pom; 包含翻译后...

    commons-logging-1.2-sources.jar

    commons-logging-1.2-sources.jar资源

    commons-logging-1.2

    While logging-implementation independence is not as important for applications as it is for libraries, using commons-logging does allow the application to change to a different logging implementation...

    commons-logging-1.1.1

    Commons-loggin的目的是为“所有的Java日志实现”提供一个统一的接口,它自身的日志功能平常弱(只有一个简单的SimpleLog?...另外一个我能想到的“同时使用commons-logging和Log4j”的原因是,简化使用和配置

    commons-codec-1.3.jar,commons-httpclient-3.1.jar,commons-logging-1.1.jar)

    图片上传需要的三个jar包(commons-codec-1.3.jar,commons-httpclient-3.1.jar,commons-logging-1.1.jar)

    commons-logging-1.2-bin.zip下载

    这是commons-logging-1.2-bin.zip,有需要的朋友下载使用

    commons-beanutils.jar+commons-logging.jar

    Apache提供的这个beanutils包极大方便了javabean的 操作。包含了最新的commons-beanutils-1.9.3.jar和api文档,以及其依赖的commons-logging-1.2.jar包

    ant-commons-logging-1.7.0.jar

    标签:ant-commons-logging-1.7.0.jar,ant,commons,logging,1.7.0,jar包下载,依赖包

    commons-modeler-XXX.jar、commons-logging-XXX.jar

    commons-modeler-XXX.jar、commons-logging-XXX.jar 下载

    commons-logging-1.2.jar

    spring所依赖的Apache common logging包。搭建Spring开发环境,必须用到commons-logging.jar。

    commons-beanutils.jar、commons-logging.jar两个包

    beanUtils 方便访问javaBean 附带支持框架 logging jar包,Apache提供的这个beanutils包极大方便了javabean的 操作。包含了最新的commons-beanutils-1.9.3.jar,以及其依赖的commons-logging-1.2.jar包

    commons-logging-1.0.4.jar 免费下载

    java spring 中打印信息的jar包,api发送信息的包,commons-logging-1.0.4-bin.zip,放在lib中,亲测可用。

Global site tag (gtag.js) - Google Analytics