Sling
  1. Sling
  2. SLING-2459

Wrong information logged when trying to add a logger factory configuration that doesn't follow the right sling:OsgiConfig node name pattern.

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: JCR Installer 3.1.2
    • Fix Version/s: None
    • Component/s: Installer
    • Labels:
      None

      Description

      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Geoffroy Schneck
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development