You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2016/02/04 11:45:39 UTC

[jira] [Resolved] (SLING-5484) ServiceUserMapperImpl.getServiceUserID needs more debug logging

     [ https://issues.apache.org/jira/browse/SLING-5484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-5484.
----------------------------------------
    Resolution: Fixed

Implemented in http://svn.apache.org/r1728437 - a typical successful service user ID resolution will now log DEBUG messages like this:

{code}
ServiceUserMapperImpl Got userId [replication-service] from com.day.cq.cq-replication/replicationService
ServiceUserMapperImpl isValidUser: Validator org.apache.sling.jcr.resource.internal.JcrSystemUserValidator@2744d533 accepts userId [replication-service] -> valid
ServiceUserMapperImpl getServiceUserID(bundle com.day.cq.cq-replication [187], subServiceName replicationService) returns [replication-service] (raw userId=replication-service, valid=true)
{code}

> ServiceUserMapperImpl.getServiceUserID needs more debug logging
> ---------------------------------------------------------------
>
>                 Key: SLING-5484
>                 URL: https://issues.apache.org/jira/browse/SLING-5484
>             Project: Sling
>          Issue Type: Improvement
>    Affects Versions: Service User Mapper 1.2.2
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: Service User Mapper 1.2.4
>
>
> If {{ServiceUserMapperImpl.getServiceUserID}} returns null it's hard to find out exactly why, as it's using the configured service user mappings but also optionally doing some validation on them.
> I'll add some DEBUG logs to make it easier to troubleshoot it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)