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

Kevan Stannard kevan.stannard at gmail.com
Fri Jun 25 06:50:20 CEST 2010


Ceki, many thanks for your help.

I have implemented Logback and everything is working perfectly.

Regards

Kevan


On 24 June 2010 20:24, Ceki Gülcü <ceki at qos.ch> wrote:

> 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
>
>
> _______________________________________________
> slf4j-user mailing list
> slf4j-user at qos.ch
> http://qos.ch/mailman/listinfo/slf4j-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20100625/63834ef7/attachment.html>


More information about the slf4j-user mailing list