Konrad Windszus created FELIX-6738:
--------------------------------------

             Summary: Improve logging in InterpolationConfigurationPlugin
                 Key: FELIX-6738
                 URL: https://issues.apache.org/jira/browse/FELIX-6738
             Project: Felix
          Issue Type: Improvement
            Reporter: Konrad Windszus


I have seen the following log output for certain configuration PIDs

{code}
22.11.2024 14:58:25.138 *WARN* [CM Event Dispatcher (Fire ConfigurationEvent: 
pid=<myPid>)] 
org.apache.felix.configadmin.plugin.interpolation.InterpolationConfigurationPlugin
 Cannot replace variable. Configured paths are not regular files: []
{code}

In case this refers to a big properties object it is impossible to tell what 
exactly went wrong. Also the log is confusing as in most cases this means that 
a secret was just not set.

The log is emitted in 
https://github.com/apache/felix-dev/blob/2027507e229a698b81cf79d34df4a6aa9a38d0b8/configadmin-plugins/interpolation/src/main/java/org/apache/felix/configadmin/plugin/interpolation/InterpolationConfigurationPlugin.java#L260.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to