You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Geoffroy Schneck (JIRA)" <ji...@apache.org> on 2012/04/24 16:31:34 UTC
[jira] [Created] (SLING-2459) Wrong information logged when trying
to add a logger factory configuration that doesn't follow the right
sling:OsgiConfig node name pattern.
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
[jira] [Commented] (SLING-2459) Wrong information logged when
trying to add a logger factory configuration that doesn't follow the right
sling:OsgiConfig node name pattern.
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261790#comment-13261790 ]
Carsten Ziegeler commented on SLING-2459:
-----------------------------------------
The config is installed: "Installed configuration...", so there is nothing the installer can do if you mistype the configuration id, same would happen if you named it ogr.apache....
> 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
[jira] [Resolved] (SLING-2459) Wrong information logged when trying
to add a logger factory configuration that doesn't follow the right
sling:OsgiConfig node name pattern.
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-2459.
-------------------------------------
Resolution: Invalid
> 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