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.