[
https://issues.apache.org/jira/browse/SLING-12158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus resolved SLING-12158.
-------------------------------------
Fix Version/s: Models Implementation 1.6.6
Resolution: Fixed
Fixed in
https://github.com/apache/sling-org-apache-sling-models-impl/commit/cf088713c402177b9d96a5229567804510ef9918.
> Log affected Sling Model class for messages emitted from
> AbstractInjectableElement
> ----------------------------------------------------------------------------------
>
> Key: SLING-12158
> URL: https://issues.apache.org/jira/browse/SLING-12158
> Project: Sling
> Issue Type: Improvement
> Components: Sling Models
> Affects Versions: Models Implementation 1.6.4
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: Models Implementation 1.6.6
>
>
> Both
> https://github.com/apache/sling-org-apache-sling-models-impl/blob/b0647a3419924c46e58b78aa6384e0f49491a0c6/src/main/java/org/apache/sling/models/impl/model/AbstractInjectableElement.java
> and classes derived from it emit some log messages. Those log message miss
> the context of the Sling Model class where that happens.
> This is e.g. the case in
> https://github.com/apache/sling-org-apache-sling-models-impl/blob/b701d76cd02fcbcbb5a9470400bdf3afc803cf2c/src/main/java/org/apache/sling/models/impl/model/AbstractInjectableElement.java#L182
> where only the type but neither the name nor the container model class is
> emitted.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)