directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-667) Logging level settings ignored in apachedsw.exe windows NT service frontend (apachedsw.exe)
Date Fri, 18 Aug 2006 02:55:14 GMT
    [ http://issues.apache.org/jira/browse/DIRSERVER-667?page=comments#action_12428887 ] 
            
Alex Karasulu commented on DIRSERVER-667:
-----------------------------------------

Long Term Fix
----------------------

The best way to fix this issue is to add the rolling log file appender to ApacheDS' log4j.properties
by default.   I could add some black magic into the daemon plugin to make the path to the
log file absolute and set by the installers but this is a real PITA.  The best would be to
set a relative path to this file so it dumps the file into the var/log directory.  We just
have to make the installer set the installation directory as the working directory for the
startup and shutdown apps.  This is not hard to do for windows.  We just need to setup these
parameters in the inno installation script.

Unix on the other hand needs to have a similar mechanism but this can be done.  Worst case
logs are dumped somewhere you don't want it to go.  But at least you got them.

> Logging level settings ignored in apachedsw.exe windows NT service frontend (apachedsw.exe)
> -------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-667
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-667
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0-RC3
>         Environment: Win2k JDK 1.5-06
>            Reporter: Alain Pannetier
>         Assigned To: Alex Karasulu
>            Priority: Critical
>         Attachments: log4j.properties
>
>
> apachedsw.exe appears to ignore the requested settings for logging level.
> How to reproduce 
> 1 - run %apacheds_home%\bin\apachedsw.exe
> 2 - In the "Logging" tab from the level combo, select Debug
> 3 - In the log prefix type test_debug.log
> 4 - in the log path set sth such as : C:\tmp\log
> 5 - In the Redirect stdout type C:\tmp\log\apacheds-stdout.log
> 6 - In the Redirect stderr type C:\tmp\log\apacheds-stderr.log
> 7 - Click on "Apply" and restart service.
> Perform some typical LDAP requests
> Have a look at the files in C:\tmp\log\
> All the expected files are there.  None have any debug log entry...
> I can possibly help if told where to look.
> Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message