Geoffroy Schneck created SLING-2459:
---------------------------------------

             Summary: Wrong information logged when trying to add a logger 
factory configuration that doesn't follow the right sling:OsgiConfig node name 
pattern.
                 Key: SLING-2459
                 URL: https://issues.apache.org/jira/browse/SLING-2459
             Project: Sling
          Issue Type: Improvement
          Components: Installer
    Affects Versions: JCR Installer 3.1.2
            Reporter: Geoffroy Schneck
            Priority: Minor


Create a sling:OsgiConfig node named for example : 
org.apache.sling.commons.log.LogManager.factory.config_cq_error_log .

Since it doesn't respect the naming convention 
org.apache.sling.commons.log.LogManager.factory.config-<identifier>, the 
corresponding config is not added, but in the logs, you will only find a wrong 
INFO message :

24.04.2012 16:06:17.074 *INFO* [OsgiInstallerImpl] 
org.apache.sling.audit.osgi.installer Installed configuration 
org.apache.sling.commons.log.LogManager.factory.config_cq_error_log from 
resource 
TaskResource(url=jcrinstall:/apps/geometrixx/config/org.apache.sling.commons.log.LogManager.factory.config_cq_error_log,
 
entity=config:org.apache.sling.commons.log.LogManager.factory.config_cq_error_log,
 state=INSTALL, 
attributes=[org.apache.sling.installer.api.tasks.ResourceTransformer=:50:, 
service.pid=org.apache.sling.commons.log.LogManager.factory.config_cq_error_log],
 digest=81b5f9819cbdcb190a995cb9b76ffa25) .

when there should be a WARN of even ERROR message.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to