Ralf S. Engelschall a écrit :
> On Wed, May 06, 2009, PLI wrote:
> 
>> This latest patch relocate log and temp directory to %{l_prefix}/var/tomcat
> 
> Why symlinks instead of the previous reconfiguration?

Previously, libexec/tomcat/logs was not a symlink.

So when tomcat start, it generates lots of logs like catalina*.log and
manager*.log and admin*.log
In the wrong directory 'libexec', instead of var/tomcat/log


> Didn't patching the catalina.sh script no longer work?

When catalina.sh start, by default, CATALINA_BASE, is used as working
directory for temp and logs.

With symlink, no patch is needed anymore
We can stick to the original source without modification.

> 
>                                        Ralf S. Engelschall
>                                        r...@engelschall.com
>                                        www.engelschall.com
> 
> ______________________________________________________________________
> OpenPKG                                             http://openpkg.org
> Developer Communication List                   openpkg-dev@openpkg.org

______________________________________________________________________
OpenPKG                                             http://openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to