[Yanel-dev] Make WAR files deployable without reconfiguration

Michael Wechner michael.wechner at wyona.com
Sun May 23 23:49:24 CEST 2010


Mehmet Birgi wrote:
> On Sun, May 23, 2010 at 1:21 AM, Michael Wechner
> <michael.wechner at wyona.com> wrote:
>   
>> Hi
>>
>> In order to make Yanel WAR files deployable without reconfiguration I would
>> like to use ${catalina.base} within the log4j config:
>>
>> conf/log4j.properties
>>
>> which means the log files would be located at
>>
>> YANEL_HOME/local/apache-tomcat-5.5.20/logs/
>>
>> (if the default Tomcat is used)
>>
>> instead
>>
>> YANEL_HOME/logs
>>
>> WDYT?
>>     
>
> I think that this is no problem, but we might want to change the
> default name of the logfile to something including "yanel" to make it
> easier to find. Maybe "yanel-cnode1.log"? Actually, if it is under the
> actual tomcat instance, the "cnode1" part would probably not be
> needed,

now you are saying that I remember why we didn't change it, because we 
also want to support clustered
environments out-of-the-box, which are sharing the same log directory, 
such that it is easier to debug.

Let me think once more about it.

Thanks

Michi
>  I guess, so even "yanel.log" might be sufficient.
>
> Also it might be helpful to echo a message on where to find find the
> logfile when yanel is started.
>
> Cheers,
>
> Memo
>
>
>   
>> Thanks
>>
>> Michi
>> --
>> Yanel-development mailing list Yanel-development at wyona.com
>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>
>>     
>
>
>
>   



More information about the Yanel-development mailing list