On Mon, May 18, 2009 at 7:50 AM, Heiko Seeberger <
[email protected]> wrote:

> What is the recommended way for logging in Lift applications?
> (a) Use LiftLogger
> (b) Use custom application logging via Log4j, SLF4J, etc. because
> LiftLogger is meant for Lift internal only
>

The Lift logger is a simple wrapper for other loggers.  You can set up SL4J
by doing:

 Slf4jLogBoot.enable()

Very early (like the first line) in your Boot.scala file.

All this does is sets functions in the LogBoot object which sets up the
appropriate logger for your application.


>
> Thanx
> Heiko
> --
> My blog: heikoseeberger.name
> Follow me: twitter.com/hseeberger
> OSGi on Scala: www.scalamodules.org
> Lift, the simply functional web framework: liftweb.net
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to