[slf4j-user] Setting log level and writing to a file

Ceki Gülcü ceki at qos.ch
Thu Jun 24 10:18:35 CEST 2010


Hello Kevan,

SLF4J does not heed any configuration properties, none whatsoever. The
only configuration you can do is to select the underlying logging
framework that SLF4J will delegate to by placing a jar file on the
class path, slf4j-simple.jar in your case.

HTH,

On 23/06/2010 10:30 PM, Kevan Stannard wrote:
> I am working on a Groovy application with Spring.
>
> I have the following SLF4J jars:
>
> slf4j-api-1.6.0.jar
> slf4j-simple-1.6.0.jar
> jcl-over-slf4j-1.6.0.jar
>
> With these jars Is it possible to configure
> a) the log level, or
> b) a file to write the logging output to?
>
> I did find an old post from Ceki that indicated that SLF4J Simple could
> not be configured (
> http://www.mail-archive.com/user@slf4j.org/msg00384.html ) but I just
> wanted to confirm this.
>
> I am new to both SLF4J and logging so I appreciate any advice.
>
> Thanks
>



More information about the slf4j-user mailing list