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

Ceki Gülcü ceki at qos.ch
Thu Jun 24 12:24:32 CEST 2010


On 24/06/2010 11:13 AM, Kevan Stannard wrote:
> Hi Ceki, thanks for helping me sort this out.
>
> So my understanding is as follows:
>
> 1) slf4j-simple.jar is our basic logging framework that has no
> configuration options.

Correct.

> 2) jcl-over-slf4j-1.6.0.jar is providing the implementation of JCL that
> forwards requests on to the SLF4J Simple framework (in this case), so
> any JCL configuration options will have no effect because JCL is not the
> actual underlying logging framework.

Also correct.

> 3) If I want to have options such as setting log level or writing the
> log output to a file then I would need to remove slf4j-simple.jar and
> replace it with another logging framework. Logback seems to be a good
> option that has come up a few times during my investigation.

Yes, absolutely. If you need any help with using logback, please
contact the logback-user mailing list. There is also plenty of
documentation at http://logback.qos.ch/manual/index.html

> Hopefully I am getting some of this correct, but I appreciate if you can
> correct anything I am not getting right.
>
> Thanks

Cheers,

--
Ceki



More information about the slf4j-user mailing list