[slf4j-user] Using slf4j

Harsimranjit singh Kler simran4u2 at gmail.com
Sat Apr 30 21:42:37 CEST 2011


Hi
if u are using logback.You can simply place logback.xml at Class path.

http://logback.qos.ch/manual/introduction.html

Regards
Harsimran

On Sat, Apr 30, 2011 at 7:32 AM, Rusty Wright <rwright.lists at gmail.com>wrote:

> "The Simple Logging Facade for Java or (SLF4J) serves as a simple facade or
> abstraction for various logging frameworks, e.g. java.util.logging, log4j
> and logback, allowing the end-user to plug in the desired logging framework
> at deployment time."
>
> Which means it depends on how you've configured the underlying logging
> system.  (My choice is logback of course.)
>
>
>
> On 4/26/2011 9:11 AM, Nitish Bangera wrote:
>
>  Hello,
>     .I am new to slf4j logging. I know to get the logger for my hello world
> class but i don't know where the logs will be written to. Is there a method
> to direct this output to a log file say helloworld.log?
>
> --
> Regards,
> Nitish S. Bangera
>
>
> _______________________________________________
> slf4j-user mailing listslf4j-user at qos.chhttp://qos.ch/mailman/listinfo/slf4j-user
>
>
> _______________________________________________
> 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/20110501/de03fdec/attachment.html>


More information about the slf4j-user mailing list