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

Thorbjoern Ravn Andersen ravn at runjva.com
Tue Mar 3 16:48:24 CET 2009


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!"




More information about the slf4j-user mailing list