You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/09/05 08:35:44 UTC
[jira] Created: (SLING-647) Configuration error when reconfiguring
existing LogWriter
Configuration error when reconfiguring existing LogWriter
---------------------------------------------------------
Key: SLING-647
URL: https://issues.apache.org/jira/browse/SLING-647
Project: Sling
Issue Type: Bug
Components: Commons Log
Affects Versions: Commons Log 2.0.2
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: Commons Log 2.0.4
When a log writer is configured it checks, whether there is no other writer configuration for the same destinaiton file. If so, the configuration is ignored. This check is done by comparing the configuration PID of the existing writer with the configuration to be changed. If the PIDs match, everything is fine and the existing writer is to be reconfigured. Otherwise the configuration is rejected and ignored.
Currently this check is wrong and rejects configurations if the PID is equal to the current writer configuration, thus actually preventing writer reconfiguration.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-647) Configuration error when reconfiguring
existing LogWriter
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed SLING-647.
-----------------------------------
Resolution: Fixed
Fixed in Rev. 692350
> Configuration error when reconfiguring existing LogWriter
> ---------------------------------------------------------
>
> Key: SLING-647
> URL: https://issues.apache.org/jira/browse/SLING-647
> Project: Sling
> Issue Type: Bug
> Components: Commons Log
> Affects Versions: Commons Log 2.0.2
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Commons Log 2.0.4
>
>
> When a log writer is configured it checks, whether there is no other writer configuration for the same destinaiton file. If so, the configuration is ignored. This check is done by comparing the configuration PID of the existing writer with the configuration to be changed. If the PIDs match, everything is fine and the existing writer is to be reconfigured. Otherwise the configuration is rejected and ignored.
> Currently this check is wrong and rejects configurations if the PID is equal to the current writer configuration, thus actually preventing writer reconfiguration.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.