Feature Requests item #3476459, was opened at 2012-01-19 20:04 Message generated for change (Comment added) made by henryju You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497985&aid=3476459&group_id=61302
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: None Status: Open Priority: 7 Private: No Submitted By: Jevon Wright (jevonwright) Assigned to: Nobody/Anonymous (nobody) Summary: Provide sample logback.xml in quick start guide Initial Comment: By default, if you extract JWebUnit into a new project with no existing logger configuration, JWebUnit now uses the logback logging framework. However the quick start documentation says nothing about this framework, or how to configure it. By default, ALL debug messages -- including debugging at the level of the sockets in HttpClient -- will be printed when executing a test. At the very least, the quick start guide should include a sample logback.xml file such as the one I discuss on StackOverflow: http://stackoverflow.com/questions/4915414/disable-httpclient-logging/8936580#8936580 That is: <configuration debug="false"> <!-- definition of appender STDOUT --> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%-4relative [%thread] %-5level %logger{35} - %msg %n</pattern> </encoder> </appender> <root level="ERROR"> <!-- appender referenced after it is defined --> <appender-ref ref="STDOUT"/> </root> </configuration> ---------------------------------------------------------------------- >Comment By: Julien HENRY (henryju) Date: 2012-01-20 01:07 Message: JWebUnit should not use logback but slf4j. Logback is an optional dependency that should not be taken transitively and is used for our unit tests. It is up to the end user to choose an slf4j implementation (logback, slf4j-log4j12, slf4j-jcl, ...) and provide the configuration. But you are right that it should be documented. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497985&aid=3476459&group_id=61302 ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ JWebUnit-development mailing list JWebUnit-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jwebunit-development