[slf4j-user] How to configure properties in SLF4J ?

Farhan Bajwa farhan.bajwa at ymail.com
Wed Mar 4 08:42:00 CET 2009


You are right Andersen that SLF4J is just a facade which needs a binding to an actual logging framework, but why there are SLF4J classes included in SLF4J API (i.e. import org.slf4j.*)?


--- On Tue, 3/3/09, Thorbjoern Ravn Andersen <ravn at runjva.com> wrote:

> From: Thorbjoern Ravn Andersen <ravn at runjva.com>
> Subject: Re: [slf4j-user] How to configure properties in SLF4J ?
> To: "User list for the slf4j project" <user at slf4j.org>
> Date: Tuesday, March 3, 2009, 3:48 PM
> Farhan Bajwa skrev:
> > Hi,
> > 
> > I want to know that if we have a properties file (i.e.
> Log4j.propeties) then how we can configure it in a java
> application, by using SLF4J ?   
> 
> slf4j is just a facade which need a binding to a logging
> framework doing the actual work (which must be set up and
> configured in the usual way).
> 
> See http://www.slf4j.org/faq.html#where_is_binding
> 
> You will then configure log4j as you usually do.
> 
> --  Thorbjørn Ravn Andersen  "...plus... Tubular
> Bells!"
> 
> _______________________________________________
> user mailing list
> user at slf4j.org
> http://www.slf4j.org/mailman/listinfo/user


      




More information about the slf4j-user mailing list