Hi Berin,
> > <targets>
> > <file id="root">
> > <filename>{impl.workDir}/my-app.log</filename>
> > <format type="extended">
> > %7.7{priority} %5.5{time} [%8.8{category}]
> (%{context}): %{message}\n%{throwable}
> > </format>
> > </file>
> > </targets>
>
> That is one way. Keep in mind that all of those braketed values are
> context entries. Some of them (like the priority, time, etc) are
> automatically added by the Excalibur-Logger package.
Well, this does not work, since the value for filename is not parsed for variables. I
have now a directory {impl.worDir} in my workspace ...
> Another way to do it is to influence the "user.dir" property. The
> Context Root is usually specified relative to this value if it is
> not absolute.
Seems the only way.
> In servlet environments, I also strongly recommend finding
> the Servlet's
> root context entry, and placing that in the CONTEXT_DIR instead of
> defaulting to the "user.dir" entry. It makes for a much more
> intuitive
> environment.
I did this. CONTEXT_DIR is set to the servlet's root context entry and WORK_DIR is the
webapps working directory. But I have to use the values setting "user.dir" ...
Regards,
J�rg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]