forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira>
Subject Re: Updating Forrest for debian, packaging questions
Date Wed, 05 Jan 2005 16:37:29 GMT
Marcus Crafter wrote:

> Hi David,
> David Crossley wrote:
>> Forrest-0.6+ has a default logkit.xconf and each project can supply
>> their own logkit.xconf to override that. (I have not tested that,
>> but supplying a cli.xconf works.) Would it be possible to not have
>> a global logkit.xconf and make each project supply it, by default
>> logging to a directory in their project space?
> Ok. Is there a local logkit.xconf created when seeding a new site 
> though? If not I fear Debian users of Forrest will encounter the 
> problem until they find out about this local logkit.xconf feature.
> I think the local project space logging is the right approach too though:
> Turns out the that in logkit.xconf:
> ${context-root}/WEB-INF/logs
> configuration is actually resolved via a o.a.a.f.c.Context object. If 
> we could have the user.dir/user.home/etc system property added to the 
> DefaultContext inside Cocoon then this could be:
> ${user.dir}/build/logs
> which would create the logs in the build area of the site. 
> Alternatively project.home could be used as well.
> What do you reckon mate?

It at least sounds plausible!

Regards, Upayavira

View raw message