Konrad Windszus created SLING-12158:
---------------------------------------

             Summary: 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


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)

Reply via email to