# IdP provider - logging /token endpoint response

**URL:** <https://forum.keycloak.org/t/idp-provider-logging-token-endpoint-response/13421>\
**Category:** Getting advice\
**Tags:** identity-brokering, oidc\
**Created:** [February 4, 2022, 8:10am UTC](https://forum.keycloak.org/t/idp-provider-logging-token-endpoint-response/13421 "2022-02-04T08:10:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![razvan.tufisi](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@razvan.tufisi](https://forum.keycloak.org/u/razvan.tufisi)\
**Post date:** [February 4, 2022, 8:10am UTC](https://forum.keycloak.org/t/idp-provider-logging-token-endpoint-response/13421/1 "2022-02-04T08:10:34Z")

</div>

Hi all,

I’m setting up a OIDC identity provider for SSO. I want to log the response of the /token call.  
I’ve succeded by adding the config: /subsystem=logging/logger=org.apache.http.wire:add(level=DEBUG) which will log all outgoing HTTP Requests in Keycloak Server, but it generates unwanted logs.

I saw that for SAML there is a possibility to log the response by adding /subsystem=logging/logger=org.keycloak.saml:add(level=TRACE).

Is there a similar mechanism for OIDC?
