Update “Log4J Configuration Required to See Log Output” section on “FakeFtpServer – Getting Started” with info for SLF4J.
git-svn-id: svn://svn.code.sf.net/p/mockftpserver/code@268 531de8e6-9941-0410-b38b-9a92acbe0330
diff --git a/MockFtpServer/src/site/apt/fakeftpserver-getting-started.apt b/MockFtpServer/src/site/apt/fakeftpserver-getting-started.apt
index 9dae7f0..a6dd8b9 100644
--- a/MockFtpServer/src/site/apt/fakeftpserver-getting-started.apt
+++ b/MockFtpServer/src/site/apt/fakeftpserver-getting-started.apt
@@ -439,18 +439,11 @@
completely replace the ResourceBundle file by calling the calling the
<<<FakeFtpServer.setReplyTextBaseName(String)>>> method.
-* Log4J Configuration Required to See Log Output
+* SLF4J Configuration Required to See Log Output
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Note that <<FakeFtpServer>> uses {{{http://logging.apache.org/log4j/index.html}Log4J}} for
- logging. If you want to see the logging output, then you must configure <<Log4J>>. There are several
- options, described on the {{{http://logging.apache.org/log4j/index.html}Log4J}} site. The easiest
- way is to put a "log4j.properties" file on your classpath. The example "log4j.properties" shown
- below writes out only INFO, WARN and ERROR messages, and only to the CONSOLE (System.out).
+ Note that <<FakeFtpServer>> uses {{{http://www.slf4j.org/}SLF4J}} for logging. If you want to
+ see the logging output, then you must configure <<SLF4J>>. (If no binding is found on the class
+ path, then <<SLF4J>> will default to a no-operation implementation.)
-+------------------------------------------------------------------------------
-log4j.rootCategory=INFO, CONSOLE
-log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
-log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
-log4j.appender.CONSOLE.layout.ConversionPattern=%d{ISO8601} %c{1} [%t] %p - %m%n
-+------------------------------------------------------------------------------
+ See the {{{http://www.slf4j.org/manual.html}SLF4J User Manual}} for more information.