Quick Start

Add sysout-over-slf4j to the classpath

Download the sysout-over-slf4j-1.0.2.jar on the Downloads page.

Alternatively, add the following to your maven pom dependencies:

<dependency>
        <groupId>uk.org.lidalia</groupId>
        <artifactId>sysout-over-slf4j</artifactId>
        <version>1.0.2</version>
</dependency>

In a Standalone Application

Make the following call as early as possible in the startup of your application:

SysOutOverSLF4J.sendSystemOutAndErrToSLF4J();

In a Servlet Container

Add the following to your web.xml:

<listener>
  <listener-class>uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4JServletContextListener</listener-class>
</listener>