SLF4J - 借助SLF4J, 统一适配所有日志实现为logback日志实现的实践

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SLF4J - 借助SLF4J, 统一适配所有日志实现为logback日志实现的实践相关的知识,希望对你有一定的参考价值。

一、屏蔽各种日志实现,去掉各种日志实现的实现依赖

技术分享  

二、引入slf4j和各种日志实现的适配器

1、引入slf4j

技术分享

2、引入各种日志实现的适配器(适配到slf4j)

 技术分享

3、引入logback

引入logback的依赖

技术分享

配置logback的配置文件

三、使用slf4j记录日志

1、使用slf4j记录日志

定义slf4j的logger

技术分享

 技术分享

记录日志

技术分享 

四、附录

1、实际引入的jar包

antlr/antlr/2.7.7/83cd2cd674a217ade95a4bb83a8a14f351f48bd0/antlr-2.7.7.jar
aopalliance/aopalliance/1.0/235ba8b489512805ac13a8f9ea77a1ca5ebe3e8/aopalliance-1.0.jar
ch.qos.logback/logback-classic/1.1.7/9865cf6994f9ff13fce0bf93f2054ef6c65bb462/logback-classic-1.1.7.jar
ch.qos.logback/logback-core/1.1.7/7873092d39ef741575ca91378a6a21c388363ac8/logback-core-1.1.7.jar
classworlds/classworlds/1.1/60c708f55deeb7c5dfce8a7886ef09cbc1388eca/classworlds-1.1.jar
com.beust/jcommander/1.12/7409692b48022f9eca7445861defbcdb9ee3c2a8/jcommander-1.12.jar
com.eaio.uuid/uuid/3.2/77ba5105d949cd589aff75400d9f7d3676691a46/uuid-3.2.jar
com.fasterxml.jackson.core/jackson-annotations/2.7.4/84b2f8e53bd8a077d402bc99d9bce816c2b2d0f9/jackson-annotations-2.7.4.jar
com.fasterxml.jackson.core/jackson-core/2.7.4/b8f38a249116b66d804a5ca2b14a3459b7913a94/jackson-core-2.7.4.jar
com.fasterxml.jackson.core/jackson-databind/2.5.4/5dfa42af84584b4a862ea488da84bbbebbb06c35/jackson-databind-2.5.4.jar
com.fasterxml.jackson.datatype/jackson-datatype-guava/2.7.4/602810d53e07af638b085423e53a6568134c5733/jackson-datatype-guava-2.7.4.jar
com.github.stephenc.high-scale-lib/high-scale-lib/1.1.2/e3fbb2a95269eb8049bc72a3b0ce3208378a30f5/high-scale-lib-1.1.2.jar
com.github.stephenc/jamm/0.2.5/422d3543c01df2f1d8bd1f3064adb54fb9e93f3/jamm-0.2.5.jar
com.google.code.findbugs/annotations/2.0.0/d8dff1d83a79f0c0609c360f02bcd2f2fc1f1369/annotations-2.0.0.jar
com.google.code.findbugs/jsr305/1.3.9/40719ea6961c0cb6afaeb6a921eaa1f6afd4cfdf/jsr305-1.3.9.jar
com.google.code.gson/gson/2.1/2e66da15851f9f5b5079228f856c2f090ba98c38/gson-2.1.jar
com.google.guava/guava/19.0/6ce200f6b23222af3d8abb6b6459e6c44f4bb0e9/guava-19.0.jar
com.google.inject.extensions/guice-assistedinject/4.1.0/af799dd7e23e6fe8c988da12314582072b07edcb/guice-assistedinject-4.1.0.jar
com.google.inject.extensions/guice-grapher/4.1.0/5b5e42aef1d8990bed1617eeaf1f3854dec677e2/guice-grapher-4.1.0.jar
com.google.inject.extensions/guice-multibindings/4.1.0/3b27257997ac51b0f8d19676f1ea170427e86d51/guice-multibindings-4.1.0.jar
com.google.inject.extensions/guice-servlet/4.1.0/90ac2db772d9b85e2b05417b74f7464bcc061dcb/guice-servlet-4.1.0.jar
com.google.inject/guice/4.1.0/eeb69005da379a10071aa4948c48d89250febb07/guice-4.1.0.jar
com.googlecode.concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.3/beb907bae0604fdc153cbcc2f0dc84d3ae35bf36/concurrentlinkedhashmap-lru-1.3.jar
com.googlecode.json-simple/json-simple/1.1/5e303a03d04e6788dddfa3655272580ae0fc13bb/json-simple-1.1.jar
com.jcraft/jsch/0.1.27/dc3be7501b71d413322735295288bdec7633730/jsch-0.1.27.jar
com.netflix.archaius/archaius-core/0.6.0/1ecb29ef5d4c0c98cae35d1038fd980688eab5f9/archaius-core-0.6.0.jar
com.netflix.astyanax/astyanax-cassandra/1.56.48/beaa7f36c77032c8984047a63f2ab8da3831a9f4/astyanax-cassandra-1.56.48.jar
com.netflix.astyanax/astyanax-core/1.56.48/a313249feaa1ff93debb5e5f88f186c702d9a717/astyanax-core-1.56.48.jar
com.netflix.astyanax/astyanax-thrift/1.56.48/6666fd04acae4de47e60e0ed1246dc0de26a60d9/astyanax-thrift-1.56.48.jar
com.netflix.blitz4j/blitz4j/1.35/c9b33b1b0131a4f76460d34e9f4b96160f4dcc40/blitz4j-1.35.jar
com.netflix.eureka/eureka-client/1.1.126/9d797c81e7c5a7fc287c32a33150c5a03a7532ff/eureka-client-1.1.126.jar
com.netflix.governator/governator-api/1.12.15/81099291c88bf748ab2151cb1a0291d189f29572/governator-api-1.12.15.jar
com.netflix.governator/governator-archaius/1.12.15/43822ef2428e6c781a8c48ee33db61be4c09efa7/governator-archaius-1.12.15.jar
com.netflix.governator/governator-core/1.12.15/44c92811e465f930f0ae07247c5a75dcbc95440e/governator-core-1.12.15.jar
com.netflix.governator/governator/1.12.15/683bdacdcd2d6b10bb354a9d673e2531f11816e9/governator-1.12.15.jar
com.netflix.hystrix/hystrix-core/1.4.0-RC4/a7a1617e7f0f7d276663070d12d3258d11835fbb/hystrix-core-1.4.0-RC4.jar
com.netflix.karyon/karyon-admin-web/2.0.02/4600d4412343a615079f86e27649e691fcf6f548/karyon-admin-web-2.0.02.jar
com.netflix.karyon/karyon-admin/2.0.02/c93a6f9ab2dfa237ad2c5e3d97738ccf3527e9c0/karyon-admin-2.0.02.jar
com.netflix.karyon/karyon-core/2.0.02/428610fbd8460302abd68534a99d25a846fad763/karyon-core-2.0.02.jar
com.netflix.karyon/karyon-eureka/2.0.02/559b702067f0ad4922585b7009c44b6c760e0c84/karyon-eureka-2.0.02.jar
com.netflix.karyon/karyon-extensions/2.0.02/7206016b5b3dfbd972f66d31b6b3cd89ab1784fb/karyon-extensions-2.0.02.jar
com.netflix.karyon/karyon-spi/2.0.02/1dea6f1bb7a27d96f24f7ebd00dd771e22113f65/karyon-spi-2.0.02.jar
com.netflix.netflix-commons/netflix-commons-util/0.1.1/39e67061780476f207b31465baaed84a91ff659f/netflix-commons-util-0.1.1.jar
com.netflix.netflix-commons/netflix-statistics/0.1.1/12f6e48253f9cafa0e24d7d232ff504c52143212/netflix-statistics-0.1.1.jar
com.netflix.pytheas/pytheas-core/1.11/2f723dad3660e53fe8dbc5687b80eb1b113870f3/pytheas-core-1.11.jar
com.netflix.ribbon/ribbon-core/0.3.13/8d21aa85b14121faa11469b9f2084c9f40da9bb1/ribbon-core-0.3.13.jar
com.netflix.ribbon/ribbon-eureka/0.3.13/99c27860c41690c646d156c3b9fd257b5d0713fc/ribbon-eureka-0.3.13.jar
com.netflix.ribbon/ribbon-httpclient/0.3.13/3f61840dcdacce8c8aaff7552247b40ff874dc94/ribbon-httpclient-0.3.13.jar
com.netflix.rxjava/rxjava-core/0.18.2/2dd90aed85f9555c9ea75880947da55f7c8244a1/rxjava-core-0.18.2.jar
com.netflix.servo/servo-core/0.7.2/b940f73ac9ddb440b79e801c8b936228dc0cc142/servo-core-0.7.2.jar
com.netflix.zuul/zuul-core/1.3.0/3974695eb1c9845a2fc575acfdea2d8d91deba1b/zuul-core-1.3.0.jar
com.netflix.zuul/zuul-netflix/1.3.0/a95e688311e198e7ea1ef6246b5cf7aea46dd439/zuul-netflix-1.3.0.jar
com.ning/compress-lzf/0.8.4/994da6bddb79a40c368d3040f2aa06b94faf6b1f/compress-lzf-0.8.4.jar
com.orbitz.consul/consul-client/0.13.7/8ce281b792dfd27cc7887c7a6f8c8c3ce53afcb3/consul-client-0.13.7.jar
com.rabbitmq/amqp-client/3.6.5/59e11141636ba2469a6fdd8c986d622480c3e239/amqp-client-3.6.5.jar
com.squareup.okhttp3/okhttp/3.3.0/2b802460eea20f8f2ad9c08c74e0f14718e88aa9/okhttp-3.3.0.jar
com.squareup.okio/okio/1.8.0/5ea7af56cc7c567ed9856d99efb30740e9b17ff/okio-1.8.0.jar
com.squareup.retrofit2/converter-jackson/2.0.2/73283d1faf89c3f25f7b4ead5021d28734bcf982/converter-jackson-2.0.2.jar
com.squareup.retrofit2/retrofit/2.1.0/2de7cd8b95b7021b1d597f049bcb422055119f2c/retrofit-2.1.0.jar
com.sun.jersey.contribs/jersey-apache-client4/1.11/ca0799b6bfca5ce07d4ccaaf802a8747d61d850c/jersey-apache-client4-1.11.jar
com.sun.jersey.contribs/jersey-guice/1.9.1/3e7ff6836d3ceabb40fd1b36be2728224bdcc52f/jersey-guice-1.9.1.jar
com.sun.jersey/jersey-client/1.19/6836ee36dba2b3ac1d0ff4733129fba8aba7f963/jersey-client-1.19.jar
com.sun.jersey/jersey-core/1.19/9a0619e2c514a79b610f17cadaae619c0a08d6a6/jersey-core-1.19.jar
com.sun.jersey/jersey-server/1.19/ee2ff839a65097eb12004edd909bcb4a97a2832c/jersey-server-1.19.jar
com.sun.jersey/jersey-servlet/1.19/2f19f1f7096d0fe3e09ae5698e4427114c23ad03/jersey-servlet-1.19.jar
com.typesafe.netty/netty-reactive-streams/1.0.8/afe9907657050156b4b204abdcbb16d15c98ad41/netty-reactive-streams-1.0.8.jar
com.yammer.metrics/metrics-core/2.2.0/f82c035cfa786d3cbec362c38c22a5f5b1bc8724/metrics-core-2.2.0.jar
commons-beanutils/commons-beanutils/1.8.2/9b69b86d9cf8aabd96ad5cb0f77d7a2cfc6d95c6/commons-beanutils-1.8.2.jar
commons-cli/commons-cli/1.1/11c98b99ad538f2f67633afd4d7f4d98ecfbb408/commons-cli-1.1.jar
commons-codec/commons-codec/1.5/cf993e250ff71804754ec2734a16f23c0be99f70/commons-codec-1.5.jar
commons-collections/commons-collections/3.2.1/761ea405b9b37ced573d2df0d1e3a4e0f9edc668/commons-collections-3.2.1.jar
commons-configuration/commons-configuration/1.8/6cce40435bcd8018018f16898de01976b319941a/commons-configuration-1.8.jar
commons-dbcp/commons-dbcp/1.4/30be73c965cc990b153a100aaaaafcf239f82d39/commons-dbcp-1.4.jar
commons-fileupload/commons-fileupload/1.3/c89e540e4a12cb034fb973e12135839b5de9a87e/commons-fileupload-1.3.jar
commons-io/commons-io/2.4/b1b6ea3b7e4aa4f492509a4952029cd8e48019ad/commons-io-2.4.jar
commons-lang/commons-lang/2.6/ce1edb914c94ebc388f086c6827e8bdeec71ac2/commons-lang-2.6.jar
commons-pool/commons-pool/1.5.4/75b6e20c596ed2945a259cea26d7fadd298398e6/commons-pool-1.5.4.jar
edu.stanford.ppl/snaptree/0.1/88caaa75fba09a4944f696c398c09da956f7c2c2/snaptree-0.1.jar
io.fastjson/boon/0.33/5058c9c345402691d471d466a640213c2e8fb407/boon-0.33.jar
io.fastjson/etcd-client/0.33/7cf7352cde001ae23f70ef6f5420c5cf1d0fbb1/etcd-client-0.33.jar
io.netty/netty-all/4.0.42.Final/8b504f4a88c636839d47cffe303ba613792762ed/netty-all-4.0.42.Final.jar
io.netty/netty-buffer/4.0.42.Final/19d834a44eed1ea7c40279ecbc224cec1f30ab25/netty-buffer-4.0.42.Final.jar
io.netty/netty-codec-http/4.0.42.Final/70a96479b6f4110d5f4a4003413e5bf758393e5f/netty-codec-http-4.0.42.Final.jar
io.netty/netty-codec/4.0.42.Final/2bc87beea47a038c01e746cdc25650e88bfad8e/netty-codec-4.0.42.Final.jar
io.netty/netty-common/4.0.42.Final/5b7f59693b746bcf4a5a69d8a4c60395536be05b/netty-common-4.0.42.Final.jar
io.netty/netty-handler/4.0.42.Final/f5cb4b1ec0a4c3135064b43542a935f1b3435589/netty-handler-4.0.42.Final.jar
io.netty/netty-transport-native-epoll/4.0.42.Final/dec023e28adc1842c6d4593831c725b3cb03967f/netty-transport-native-epoll-4.0.42.Final-linux-x86_64.jar
io.netty/netty-transport/4.0.42.Final/7d8860075213defd19d775d5e8432de1c530a592/netty-transport-4.0.42.Final.jar
io.netty/netty/3.6.6.Final/e4e40738ce9bee0a92389cb739c94d7839778647/netty-3.6.6.Final.jar
io.reactivex.rxjava2/rxjava/2.0.5/4f1ac7ec0215e8f87ac80269baadc82878b87ed8/rxjava-2.0.5.jar
io.vertx/vertx-core/2.1.2/a032d7efc6bdea5ec7587f02e33b7f2b9c71cb6/vertx-core-2.1.2.jar
io.vertx/vertx-platform/2.1.2/211f5dcad167ee46f9e05192fe27cd9c94c08636/vertx-platform-2.1.2.jar
javax.inject/javax.inject/1/6975da39a7040257bd51d21a231b76c915872d38/javax.inject-1.jar
javax.servlet.jsp/jsp-api/2.1/63f943103f250ef1f3a4d5e94d145a0f961f5316/jsp-api-2.1.jar
javax.servlet/javax.servlet-api/3.1.0/3cd63d075497751784b2fa84be59432f4905bf7c/javax.servlet-api-3.1.0.jar
javax.servlet/jstl/1.1.2/3375e43c620df4f1114959400ff9bb90d12a2feb/jstl-1.1.2.jar
javax.servlet/servlet-api/2.5/5959582d97d8b61f4d154ca9e495aafd16726e34/servlet-api-2.5.jar
javax.validation/validation-api/1.0.0.GA/b6bd7f9d78f6fdaa3c37dae18a4bd298915f328e/validation-api-1.0.0.GA.jar
javax.ws.rs/jsr311-api/1.1.1/59033da2a1afd56af1ac576750a8d0b1830d59e6/jsr311-api-1.1.1.jar
jline/jline/1.0/e8f2d4690059d42a8f0f29195884a72a82ce4bb7/jline-1.0.jar
joda-time/joda-time/1.6.2/7a0525fe460ef5b99ea3152e6d2c0e4f24f04c51/joda-time-1.6.2.jar
jtidy/jtidy/4aug2000r7-dev/2aecd44e0c3a7fdcf0ec19f7c58f37a07798f01f/jtidy-4aug2000r7-dev.jar
junit/junit/4.10/e4f1766ce7404a08f45d859fb9c226fc9e41a861/junit-4.10.jar
mysql/mysql-connector-java/5.1.35/b6ac941b7288376a7e8bc6490264bbd4427fb94e/mysql-connector-java-5.1.35.jar
net.jpountz.lz4/lz4/1.1.0/6eb4869b4d9a15ee6a475945e66f4015d266b191/lz4-1.1.0.jar
net.sf.ehcache/ehcache-core/2.4.6/5fa26910a264313f71f1bc669c22608514543d5b/ehcache-core-2.4.6.jar
net.sf.ehcache/ehcache-web/2.0.4/8f5bd8c75e534e9b56933e4f4d3c375f3cf105c6/ehcache-web-2.0.4.jar
opensymphony/sitemesh/2.4/fa84c82cce30a9a632c08dd2277d63993d972cf5/sitemesh-2.4.jar
org.antlr/antlr-runtime/3.2/31c746001016c6226bd7356c9f87a6a084ce3715/antlr-runtime-3.2.jar
org.antlr/antlr/3.2/6b0acabea7bb3da058200a77178057e47e25cb69/antlr-3.2.jar
org.antlr/stringtemplate/3.2/6fe2e3bb57daebd1555494818909f9664376dd6c/stringtemplate-3.2.jar
org.apache.cassandra.deps/avro/1.4.0-cassandra-1/eca76e00f897461f95bbb085f67936417ae03825/avro-1.4.0-cassandra-1.jar
org.apache.cassandra/cassandra-all/1.2.11/6f08f46e3e569fd0bd304354e59a8dc608d5a073/cassandra-all-1.2.11.jar
org.apache.cassandra/cassandra-thrift/1.2.11/e1704b46d66af88e2485ac60bef6c1791f644646/cassandra-thrift-1.2.11.jar
org.apache.commons/commons-lang3/3.4/5fe28b9518e58819180a43a850fbc0dd24b7c050/commons-lang3-3.4.jar
org.apache.commons/commons-pool2/2.4.2/e5f4f28f19d57716fbc3989d7a357ebf1e454fea/commons-pool2-2.4.2.jar
org.apache.httpcomponents/httpclient/4.2.1/b69bd03af60bf487b3ae1209a644ecac587bf6fc/httpclient-4.2.1.jar
org.apache.httpcomponents/httpcore/4.2.1/2d503272bf0a8b5f92d64db78b4ba9abbaccc6fd/httpcore-4.2.1.jar
org.apache.maven.doxia/doxia-sink-api/1.0-alpha-7/68464d54384c35119c70684d5d609b64635d1bbd/doxia-sink-api-1.0-alpha-7.jar
org.apache.maven.reporting/maven-reporting-api/2.0.6/29ec352c90968c345b628be6c40ddfb5ec7010a8/maven-reporting-api-2.0.6.jar
org.apache.maven.wagon/wagon-file/1.0-beta-2/9274be1ca512ec6c8b9bed28e7d8de016359bea0/wagon-file-1.0-beta-2.jar
org.apache.maven.wagon/wagon-http-lightweight/1.0-beta-2/d725abe300936ae746b9c8c49782edde256804/wagon-http-lightweight-1.0-beta-2.jar
org.apache.maven.wagon/wagon-http-shared/1.0-beta-2/7e7d262f132abb9a965cf5a2a5128376878ea2a2/wagon-http-shared-1.0-beta-2.jar
org.apache.maven.wagon/wagon-provider-api/1.0-beta-2/abd1c9ace6e87c94a4b91f5176aeb09d954b23a3/wagon-provider-api-1.0-beta-2.jar
org.apache.maven.wagon/wagon-ssh-common/1.0-beta-2/f0abd9511ec8d8128ec19cb64a9b7d8e36033b21/wagon-ssh-common-1.0-beta-2.jar
org.apache.maven.wagon/wagon-ssh-external/1.0-beta-2/8b1c48326fccfbf50716b08fc973e494ac585bf/wagon-ssh-external-1.0-beta-2.jar
org.apache.maven.wagon/wagon-ssh/1.0-beta-2/1ef0e22afcdbe2ef5a3c1ec684443d76a3b50ddd/wagon-ssh-1.0-beta-2.jar
org.apache.maven/maven-artifact-manager/2.0.6/dc326c3a989c10618e09a7b77cadeff297591942/maven-artifact-manager-2.0.6.jar
org.apache.maven/maven-artifact/2.0.9/66f0c8baa789fffdf54924cf395b26bbc2130435/maven-artifact-2.0.9.jar
org.apache.maven/maven-core/2.0.6/33b78ed70029bfca9fadee5c8e7c9b27b9a39443/maven-core-2.0.6.jar
org.apache.maven/maven-error-diagnostics/2.0.6/49f5380c07a79cd91ee09e0cb9063764f1f6525c/maven-error-diagnostics-2.0.6.jar
org.apache.maven/maven-model/2.0.6/9649253c0e68a453f388e0a308c0653309f87807/maven-model-2.0.6.jar
org.apache.maven/maven-monitor/2.0.6/ab682e67281bb025980181c83acbcad19042a342/maven-monitor-2.0.6.jar
org.apache.maven/maven-plugin-api/2.0.6/52b32fd980c8ead7a3858d057330bda1ace72d9d/maven-plugin-api-2.0.6.jar
org.apache.maven/maven-plugin-descriptor/2.0.6/30a00f4ef12d3901c4f842de99e9363e3743245f/maven-plugin-descriptor-2.0.6.jar
org.apache.maven/maven-plugin-parameter-documenter/2.0.6/df6fa6c4adb313cb8937ffae96368bec1fd5d13d/maven-plugin-parameter-documenter-2.0.6.jar
org.apache.maven/maven-plugin-registry/2.0.6/4242ec8629b4797387751379f57e72cb718aac7a/maven-plugin-registry-2.0.6.jar
org.apache.maven/maven-profile/2.0.6/f03cd3820d2b4d60b93ccd17a1c14e8eeef63f79/maven-profile-2.0.6.jar
org.apache.maven/maven-project/2.0.6/c0df764cd8f5bac660bfa53fa97fdd53663ee308/maven-project-2.0.6.jar
org.apache.maven/maven-repository-metadata/2.0.6/ae64379396d2eba33616ce1e0a458c3a744b317b/maven-repository-metadata-2.0.6.jar
org.apache.maven/maven-settings/2.0.6/5da16cf9def50e3a352cd7e8923a49ebd72003b8/maven-settings-2.0.6.jar
org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-csv/1.0-r706900_3/ff0cd44f590a80c5c87aaa85a0d2bab2d350bc4a/org.apache.servicemix.bundles.commons-csv-1.0-r706900_3.jar
org.apache.thrift/libthrift/0.7.0/b10dbd7c223392bb9bf22cef09ff2eb21515f35c/libthrift-0.7.0.jar
org.apache.xbean/xbean-reflect/3.4/26fd55dceb037f4789b399b22874d74f4d2db66f/xbean-reflect-3.4.jar
org.aspectj/aspectjrt/1.8.6/a7db7ea5f7bb18a1cbd9f24edd0e666504800be/aspectjrt-1.8.6.jar
org.aspectj/aspectjweaver/1.8.6/7108cf65148f29a55ebf23db2c46224ea9d086dc/aspectjweaver-1.8.6.jar
org.asynchttpclient/async-http-client-netty-utils/2.0.24/ebb54dcd861139975c44d2ac9fe54c098517c737/async-http-client-netty-utils-2.0.24.jar
org.asynchttpclient/async-http-client/2.0.24/581a336197bbd3d11d1a0d4d89028cf8b9dfa28c/async-http-client-2.0.24.jar
org.asynchttpclient/netty-codec-dns/2.0.24/bfc576deb587f4d17cb1c4978aed70def39b2962/netty-codec-dns-2.0.24.jar
org.asynchttpclient/netty-resolver-dns/2.0.24/ec1f56e76a2cb5e68046fb65996d01962a31c10b/netty-resolver-dns-2.0.24.jar
org.asynchttpclient/netty-resolver/2.0.24/bee3679e081200d564165b9b9c1f602e4eecc524/netty-resolver-2.0.24.jar
org.beanshell/bsh/2.0b4/a05f0a0feefa8d8467ac80e16e7de071489f0d9c/bsh-2.0b4.jar
org.codehaus.groovy/groovy-all/2.4.7/c5371aaa20bcdca1175d9477fc0811f4fd99b68a/groovy-all-2.4.7.jar
org.codehaus.groovy/groovy-eclipse-batch/2.4.3-01/484fd2cf2683352175a5511a7b7988a87542602d/groovy-eclipse-batch-2.4.3-01.jar
org.codehaus.jackson/jackson-core-asl/1.9.2/8493982bba1727106d767034bd0d8e77bc1931a9/jackson-core-asl-1.9.2.jar
org.codehaus.jackson/jackson-mapper-asl/1.9.11/45d70862fa016993193075a1e8e32a01dcf438e8/jackson-mapper-asl-1.9.11.jar
org.codehaus.jettison/jettison/1.2/765a6181653f4b05c18c7a9e8f5c1f8269bf9b2/jettison-1.2.jar
org.codehaus.plexus/plexus-classworlds/2.2.2/3a2bad2b58c1ca765d3f471cea8c1655d70fdfd9/plexus-classworlds-2.2.2.jar
org.codehaus.plexus/plexus-container-default/1.5.4/18ad67198302e82cfe403954aaab6815fab350ef/plexus-container-default-1.5.4.jar
org.codehaus.plexus/plexus-interactivity-api/1.0-alpha-4/a8f1178664a5457eef3f4531eb62f9505e1295f/plexus-interactivity-api-1.0-alpha-4.jar
org.codehaus.plexus/plexus-utils/1.5.1/342d1eb41a2bc7b52fa2e54e9872463fc86e2650/plexus-utils-1.5.1.jar
org.eclipse.jetty.orbit/javax.servlet/2.5.0.v201103041518/9c16011c06bc6fe5e9dba080fcb40ddb4b75dc85/javax.servlet-2.5.0.v201103041518.jar
org.eclipse.jetty/jetty-continuation/7.6.7.v20120910/f9fb1cc73134add7c825f60c48d1fcc6178e0663/jetty-continuation-7.6.7.v20120910.jar
org.eclipse.jetty/jetty-http/7.6.7.v20120910/708cf4dfaa5f36193c1c2015675b846582ae4d30/jetty-http-7.6.7.v20120910.jar
org.eclipse.jetty/jetty-io/7.6.7.v20120910/f659ad09a3937a5f9f96a2705c694fa508064b39/jetty-io-7.6.7.v20120910.jar
org.eclipse.jetty/jetty-security/7.6.7.v20120910/a4cf42ea112ba9ebeea4a9975b6a46ea54e1e06f/jetty-security-7.6.7.v20120910.jar
org.eclipse.jetty/jetty-server/7.6.7.v20120910/8676b203f058a4584cb52e2e3214b9951a371133/jetty-server-7.6.7.v20120910.jar
org.eclipse.jetty/jetty-servlet/7.6.7.v20120910/3a1d08e9f8437c8ec10f0bf7633edbdc8afb7fac/jetty-servlet-7.6.7.v20120910.jar
org.eclipse.jetty/jetty-util/7.6.7.v20120910/b90c6c73ff972df82b36f0eb063da07fefb94237/jetty-util-7.6.7.v20120910.jar
org.freemarker/freemarker/2.3.15/c8cfe522476fcec8da5c980d58bf62d6ab0cf27c/freemarker-2.3.15.jar
org.hamcrest/hamcrest-all/1.3/63a21ebc981131004ad02e0434e799fd7f3a8d5a/hamcrest-all-1.3.jar
org.hamcrest/hamcrest-core/1.1/860340562250678d1a344907ac75754e259cdb14/hamcrest-core-1.1.jar
org.hibernate/hibernate-validator/4.1.0.Final/785cceeb0b0dbd03367f45cd60eb26cd48167640/hibernate-validator-4.1.0.Final.jar
org.javassist/javassist/3.21.0-GA/598244f595db5c5fb713731eddbb1c91a58d959b/javassist-3.21.0-GA.jar
org.json/json/20090211/c183aa3a2a6250293808bba12262c8920ce5a51c/json-20090211.jar
org.mindrot/jbcrypt/0.3m/fe2d9c5f23767d681a7e38fc8986b812400ec583/jbcrypt-0.3m.jar
org.mockito/mockito-all/1.9.5/79a8984096fc6591c1e3690e07d41be506356fa5/mockito-all-1.9.5.jar
org.mortbay.jetty/jetty-util/6.1.22/9039d1940a9ae1c91d2b5d7fdfd64bd1924cd447/jetty-util-6.1.22.jar
org.mortbay.jetty/jetty/6.1.22/e097b3b684cececf84a35cfdd08e56096a3188da/jetty-6.1.22.jar
org.mortbay.jetty/servlet-api/2.5-20081211/22bff70037e1e6fa7e6413149489552ee2064702/servlet-api-2.5-20081211.jar
org.ow2.asm/asm/5.0.4/da08b8cce7bbf903602a25a3a163ae252435795/asm-5.0.4.jar
org.reactivestreams/reactive-streams/1.0.0/14b8c877d98005ba3941c9257cfe09f6ed0e0d74/reactive-streams-1.0.0.jar
org.slf4j/jcl-over-slf4j/1.7.15/598ffdd2f61d99a0244d095b96f3cb9c48b0cb8a/jcl-over-slf4j-1.7.15.jar
org.slf4j/jul-to-slf4j/1.7.15/311133fe31cdefcf8af9bb1bd3b1a08469f981d0/jul-to-slf4j-1.7.15.jar
org.slf4j/log4j-over-slf4j/1.7.15/445aef578a3031f41b360c83fab43a6d388f8c46/log4j-over-slf4j-1.7.15.jar
org.slf4j/slf4j-api/1.7.15/bf545a272a63c5546b43ebc44df4784c0293478e/slf4j-api-1.7.15.jar
org.springframework.security.oauth/spring-security-oauth2/2.0.7.RELEASE/9fd0cc88feb5f501400ba74bcb9563b808025b94/spring-security-oauth2-2.0.7.RELEASE.jar
org.springframework.security/spring-security-acl/4.0.4.RELEASE/3c57c1a3f73536bacdc0d49a278acdc257b25218/spring-security-acl-4.0.4.RELEASE.jar
org.springframework.security/spring-security-config/4.0.4.RELEASE/cb303b01fe84ca8845312171c77c8b8ff9d4a272/spring-security-config-4.0.4.RELEASE.jar
org.springframework.security/spring-security-core/4.0.4.RELEASE/67e6eccc73a9887a7ca262c7cac20f9b36ce5a5d/spring-security-core-4.0.4.RELEASE.jar
org.springframework.security/spring-security-taglibs/4.0.4.RELEASE/dc0a2d9860b8eed3a1e738eba47c387025c6c1d7/spring-security-taglibs-4.0.4.RELEASE.jar
org.springframework.security/spring-security-web/4.0.4.RELEASE/c52e77d38a48b33f955ab25156f15e564c9b616f/spring-security-web-4.0.4.RELEASE.jar
org.springframework/spring-aop/4.1.6.RELEASE/686c13ba57d9423dede9c5d580dcadc5c67a2761/spring-aop-4.1.6.RELEASE.jar
org.springframework/spring-beans/4.1.6.RELEASE/ce2d409d470948f11fad41ffdf37dcff4d28cd7c/spring-beans-4.1.6.RELEASE.jar
org.springframework/spring-context-support/4.1.6.RELEASE/9beaafd3f01cd377e36a2b1a9aed7c2c87111165/spring-context-support-4.1.6.RELEASE.jar
org.springframework/spring-context/4.1.6.RELEASE/15f0b22bf89ed468badbc4eec759af2b916d33e4/spring-context-4.1.6.RELEASE.jar
org.springframework/spring-core/4.1.6.RELEASE/e2f486124d5dea2d91a9c2ea7d4456bc343ca2cc/spring-core-4.1.6.RELEASE.jar
org.springframework/spring-expression/4.1.6.RELEASE/8bf70887c2c883a6f6e552dbe46eec35c07adf6a/spring-expression-4.1.6.RELEASE.jar
org.springframework/spring-jdbc/4.2.5.RELEASE/205d2f1b902eac16a2ece772dc5ac6090b7e0b6f/spring-jdbc-4.2.5.RELEASE.jar
org.springframework/spring-test/4.1.6.RELEASE/89612cafdac51bc92d9bd512e1863a9111a08b4e/spring-test-4.1.6.RELEASE.jar
org.springframework/spring-tx/4.1.6.RELEASE/b5beecfa930e0e2ce6fb3999eee3f69c4776e6be/spring-tx-4.1.6.RELEASE.jar
org.springframework/spring-web/4.1.6.RELEASE/960101b25d0ec6f45d550bf92c00de8c6a584e6a/spring-web-4.1.6.RELEASE.jar
org.springframework/spring-webmvc/4.1.6.RELEASE/e1ee19a5359f214d65cc18972df8aba17ce1e423/spring-webmvc-4.1.6.RELEASE.jar
org.testng/testng/6.1.1/a94d7d28cabfa782f0cfd4275cbe4106aecd6aec/testng-6.1.1.jar
org.xerial.snappy/snappy-java/1.0.4.1/f88b89a5a21a466aeb0ecf0c063605bd584b4947/snappy-java-1.0.4.1.jar
org.yaml/snakeyaml/1.6/a1e23e31c424d566ee27382e373d73a28fdabd88/snakeyaml-1.6.jar
plexus/plexus-utils/1.0.2/dc78334ccdd2fd86580e9eaf0c32a7db3369bb3b/plexus-utils-1.0.2.jar
redis.clients/jedis/2.9.0/292bc9cc26553acd3cccc26f2f95620bf88a04c2/jedis-2.9.0.jar
stax/stax-api/1.0.1/49c100caf72d658aca8e58bd74a4ba90fa2b0d70/stax-api-1.0.1.jar
taglibs/standard/1.1.2/a17e8a4d9a1f7fcc5eed606721c9ed6b7f18acf7/standard-1.1.2.jar
xml-apis/xml-apis/1.0.b2/3136ca936f64c9d68529f048c2618bd356bf85c9/xml-apis-1.0.b2.jar



















































































































































































































以上是关于SLF4J - 借助SLF4J, 统一适配所有日志实现为logback日志实现的实践的主要内容,如果未能解决你的问题,请参考以下文章

SLF4J 源码阅读

用slf4j统一管理日志总结

[slf4j+log] 源码解析

SpringBoot----日志框架和配置

slf4j依赖包冲突

Java日志框架:slf4j作用及其实现原理