Hi, all.

I'm building a web app in Lift 1.0 and deploying to Jetty 6.1.22.  I'm
trying to figure out the best way (or any way) to externalize the
log4j configuration.

My ideal deployment would look like this:

/usr/local/jetty/webapps/myapp.war
/well/known/location/myapp-log4j.xml   (i.e. not in the .war)

If /well/known/location doesn't exist, a sane log4j.xml (possibly from
within the .war) should be used.

Anyone have advice on how to achieve this?  I took a look at
http://wiki.liftweb.net/index.php/HowTo_configure_logging, and the
default.log4j.xml thing works, but I want config outside the .war.
Is overrding LogBoot.defaultProps in Boot.scala -- as mentioned in the
linked article -- the answer? (e.g. have it try to return the contents
of /well/known/location/myapp-log4j.xml)

Thanks,


Mark.

--

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