> -----Original Message-----
> From: Schweer, Christian [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 12, 2002 4:27 PM
> To: '[EMAIL PROTECTED]'
> Subject: Location of LogTransformer logfile
>
>
>
> Hi folks,
>
> I'm using Cocoon2 with the following LogTransformer
>
>                               <map:transform type="log">
>                                       <map:parameter name="logfile"
> value="transformer.log"/>
>                                       <map:parameter name="append"
> value="no"/>
>                               </map:transform>
>
> It seems that the file transformer.log is generated in the directory in
> which I started my Tomcat.
> E.g.
> - if I start Tomcat with "catalina start" from my home-directory
> the logfile
> will be placed in my home-directory.
> - if I start Tomcat with a init-script the logfile is placed in the
> home-directory of root
>
> can I somehow tell cocoon to use the directory where it places its normal
> log-files? To be precise: another way than giving the full absolute path?
>
AFAIK, you can't tell cocoon it with 2.0 or 2.0.1. A relative path is always
resolved to the directory you started the servlet engine from.
In the next version of Cocoon this will be fixed which means, a relative
path
is always relative to the COcoon context directory, so
"WEB-INF/logs/transformer.log"
would solve this.

Carsten


> Thx in advance,
> Christian
>
> --
> Christian Schweer             mailto:[EMAIL PROTECTED]
> sd&m   AG                     http://www.sdm.de/
> software design & management
> Luebecker Strasse 1, 22087 Hamburg, Germany
> Tel +49 40 254491-97 Fax -11
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to