From f3c2503a296c65067aee494aa45035df1840f55d Mon Sep 17 00:00:00 2001 From: "yihua.huang" Date: Tue, 1 Apr 2014 07:42:23 +0800 Subject: [PATCH] add warning of slf4j #78 --- README.md | 14 ++++++++++++++ webmagic-extension/pom.xml | 6 ++++++ 2 files changed, 20 insertions(+) diff --git a/README.md b/README.md index cccbf3f..a9f856e 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ Add dependencies to your pom.xml: +```xml us.codecraft webmagic-core @@ -31,6 +32,19 @@ Add dependencies to your pom.xml: webmagic-extension 0.4.3 +``` + +WebMagic use slf4j with slf4j-log4j12 implementation. If you customized your slf4j implementation, please exclude slf4j-log4j12. + +```xml + + + org.slf4j + slf4j-log4j12 + + +``` + ## Get Started: diff --git a/webmagic-extension/pom.xml b/webmagic-extension/pom.xml index cd8c12f..78f2757 100644 --- a/webmagic-extension/pom.xml +++ b/webmagic-extension/pom.xml @@ -23,6 +23,12 @@ us.codecraft webmagic-core ${project.version} + + + org.slf4j + slf4j-log4j12 + + junit