Skip to content

Commit

Permalink
Merge pull request #986 from JanssenProject/jans-auth-server-issue-1649
Browse files Browse the repository at this point in the history
fix(jans-auth-server): reduce noise in logs when session can't be found
  • Loading branch information
yuriyz authored Mar 7, 2022
2 parents ab40173 + 7c88078 commit ac41ffa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ public SessionId getSessionByDn(@Nullable String dn, boolean silently) {
return sessionId;
} catch (Exception e) {
if (!silently) {
log.error("Failed to get session by dn: " + dn, e);
log.error("Failed to get session by dn: {}. {}", dn, e.getMessage());
}
}
return null;
Expand Down

0 comments on commit ac41ffa

Please sign in to comment.