directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <akaras...@apache.org>
Subject Re: [ApacheDS] Adjusting the log file location for log4j
Date Thu, 07 Jun 2007 04:00:11 GMT
Hmmm I have no clue anymore especially on Windows.  There is some odd
behavior there.
Just curious to trouble shoot it do you see the same behavior on *NIX?

Alex

On 6/6/07, Stefan Zoerner <stefan@labeo.de> wrote:
>
> Hi all!
>
> Currently, I am updating the "Configure logging" section in the Basic
> User's Guide for ApacheDS 1.5 located here
>
> http://directory.apache.org/apacheds/1.5/145-configure-logging.html
>
> I have a probably simple problem under Windows: I am not able to modify
> the log file location "var/logs". In the "log4j.properties" there are
> lines
>
> log4j.appender.R=org.apache.log4j.RollingFileAppender
> log4j.appender.R.File=apacheds-rolling.log
>
> and the apacheds-rolling.log is written relative to
> <APACHDS_HOME>/var/log/. I am not able to change this location. Only if
> I use an absolute file name for R, it works. But how does log4j know
> which target directory (default "var/log/") to use?
>
> If I choose another value for "Log Path" in the service properties,
> which can be adjusted with "apachedsw.exe" and looks promising, the file
> apacheds-rolling.log is not affected. only
> "jakarta_service_20070606.log" gets in the new directory.
>
> Thanks in advance,
>     Stefan
>
>
>

Mime
View raw message