[Yanel-dev] Moving the logs out of the build dir (concerns Yanel source version)

Michael Wechner michael.wechner at wyona.com
Fri Dec 4 15:13:31 CET 2009


Guillaume Déflache wrote:
> Michael Wechner schrieb:
>> Hi
>>
>> Currently the log files are saved within YANEL_SOURCE_HOME/build/logs
>>
>> I would like to move them out of the build dir to YANEL_SOURCE_HOME/logs
>>
>> whereas I would make this configurable within
>>
>> src/build/local.build.properties
>>
>> The advantage would be that one can delete the build dir completely 
>> without loosing the log files
>> and also one can have the logs dir configurable by 
>> local.build.properties.
>>
>> Any objections?
>
> As discussed IRL, none except maybe make sure that the logs dir can be 
> configured to be YANEL_SOURCE_HOME fro those like me who really want 
> logs to be "in their face"! :)

that should be possible now. Overwrite the parameter log4j.path (see 
src/builld/build.properties) within src/build/local.build.properties

Btw, I have introduced now also a dedicated 404 log, which means all 404 
are being logged.

Cheers

Michi
> E.g. be careful if there is something somewhere deleting all logs by 
> deleting the whole directory! ;)
>
> Cheers,
>    Guillaume



More information about the Yanel-development mailing list