Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-6144

Avoid extensive log flooding by Keycloak and RestEasy

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • security

      This is WARNING / INFO log from Keycloak/RestEasy needed just for logging into UPS Console (http://localhost:8080/ag-push/):

      10:11:23,552 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-6) invoke
      10:11:23,589 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-6) Field providers of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:23,589 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-6) Field securityContext of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:23,590 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-6) Field uriInfo of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:23,591 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-6) Field headers of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:23,591 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-6) Field request of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:23,592 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-6) Field response of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:23,592 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-6) Field session of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:23,593 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-6) Field transaction of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:23,594 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-6) Field clientConnection of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:23,594 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-6) Field providerSession of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:23,595 INFO  [org.keycloak.services.resources.TokenService] (http--127.0.0.1-8080-6) TokenService.loginPage
      10:11:23,606 INFO  [org.keycloak.services.resources.TokenService] (http--127.0.0.1-8080-6) Checking cookie...
      10:11:23,606 INFO  [org.keycloak.services.managers.AuthenticationManager] (http--127.0.0.1-8080-6) authenticateIdentityCookie
      10:11:23,607 INFO  [org.keycloak.services.managers.AuthenticationManager] (http--127.0.0.1-8080-6) authenticateCookie could not find cookie: KEYCLOAK_IDENTITY
      10:11:23,607 INFO  [org.keycloak.services.resources.TokenService] (http--127.0.0.1-8080-6) createLogin() now...
      10:11:26,315 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-5) Field providers of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,320 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-5) Field securityContext of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,321 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-5) Field uriInfo of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,322 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-5) Field headers of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,323 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-5) Field request of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,324 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-5) Field response of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,325 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-5) Field session of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,325 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-5) Field transaction of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,326 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-5) Field clientConnection of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,327 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-5) Field providerSession of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,387 INFO  [org.keycloak.audit] (http--127.0.0.1-8080-5) event=LOGIN, realmId=bfddb42f-bf1b-499f-9daa-bbaf3fbfa277, clientId=unified-push-server-js, userId=e5db7d63-f042-460d-a0f7-682d631381a5, ipAddress=127.0.0.1, username=admin, response_type=code, redirect_uri=http://localhost:8080/ag-push/, auth_method=form, code_id=7d08fca7-5f60-4650-be23-075f5f8f27df1407312686358
      10:11:26,388 INFO  [org.keycloak.services.managers.AuthenticationManager] (http--127.0.0.1-8080-5) createLoginCookie
      10:11:26,388 INFO  [org.keycloak.services.managers.AuthenticationManager] (http--127.0.0.1-8080-5) createIdentityToken
      10:11:26,398 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-5) invoke
      10:11:26,460 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-5) invoke
      10:11:26,463 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-8) invoke
      10:11:26,477 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-6) invoke
      10:11:26,478 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-10) invoke
      10:11:26,545 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-10) invoke
      10:11:26,551 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-10) invoke
      10:11:26,558 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-10) invoke
      10:11:26,594 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-10) Field providers of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,595 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-10) Field securityContext of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,596 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-10) Field uriInfo of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,596 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-10) Field headers of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,597 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-10) Field request of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,598 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-10) Field response of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,598 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-10) Field session of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,604 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-10) Field transaction of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,605 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-10) Field clientConnection of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,606 WARNING [org.jboss.resteasy.core.ResourceLocator] (http--127.0.0.1-8080-10) Field providerSession of subresource org.keycloak.services.resources.TokenService will not be injected according to spec
      10:11:26,608 INFO  [org.keycloak.services.resources.TokenService] (http--127.0.0.1-8080-10) no authorization header
      10:11:26,636 INFO  [org.keycloak.audit] (http--127.0.0.1-8080-10) event=CODE_TO_TOKEN, realmId=bfddb42f-bf1b-499f-9daa-bbaf3fbfa277, clientId=unified-push-server-js, userId=e5db7d63-f042-460d-a0f7-682d631381a5, ipAddress=127.0.0.1, refresh_token_id=3497ae08-ea1a-40df-b16d-20f67eb1f417, code_id=7d08fca7-5f60-4650-be23-075f5f8f27df1407312686358, token_id=93b9211a-c2d6-4874-8893-cc7f18c3d9a3
      10:11:26,655 INFO  [org.keycloak.services.resources.RealmsResource] (http--127.0.0.1-8080-10) getLoginStatusIframe
      10:11:26,678 INFO  [org.keycloak.services.managers.AuthenticationManager] (http--127.0.0.1-8080-10) authenticateIdentityCookie
      10:11:26,680 INFO  [org.keycloak.services.managers.AuthenticationManager] (http--127.0.0.1-8080-10) identity token verified
      10:11:26,680 INFO  [org.keycloak.services.managers.AuthenticationManager] (http--127.0.0.1-8080-10) Checking if identity token is active
      10:11:26,680 INFO  [org.keycloak.services.managers.AuthenticationManager] (http--127.0.0.1-8080-10) token.isActive() : true
      10:11:26,680 INFO  [org.keycloak.services.managers.AuthenticationManager] (http--127.0.0.1-8080-10) token.issuedAt: 1407312686
      10:11:26,681 INFO  [org.keycloak.services.managers.AuthenticationManager] (http--127.0.0.1-8080-10) real.notbefore: 0
      10:11:26,741 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-10) invoke
      10:11:26,743 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-6) invoke
      10:11:26,771 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-6) invoke
      10:11:26,772 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-6) *** authenticate
      10:11:26,773 INFO  [org.keycloak.adapters.RequestAuthenticator] (http--127.0.0.1-8080-6) --> authenticate()
      10:11:26,773 INFO  [org.keycloak.adapters.RequestAuthenticator] (http--127.0.0.1-8080-6) try bearer
      10:11:26,775 INFO  [org.keycloak.adapters.RefreshableKeycloakSecurityContext] (http--127.0.0.1-8080-6) checking whether to refresh.
      10:11:26,775 INFO  [org.keycloak.adapters.as7.CatalinaRequestAuthenticator] (http--127.0.0.1-8080-6) Bearer role: admin
      10:11:26,776 INFO  [org.keycloak.adapters.RequestAuthenticator] (http--127.0.0.1-8080-6) Bearer AUTHENTICATED
      10:11:26,777 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-10) invoke
      10:11:26,778 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-10) *** authenticate
      10:11:26,778 INFO  [org.keycloak.adapters.RefreshableKeycloakSecurityContext] (http--127.0.0.1-8080-6) checking whether to refresh.
      10:11:26,779 INFO  [org.keycloak.adapters.RequestAuthenticator] (http--127.0.0.1-8080-10) --> authenticate()
      10:11:26,779 INFO  [org.keycloak.adapters.RequestAuthenticator] (http--127.0.0.1-8080-10) try bearer
      10:11:26,790 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-9) invoke
      10:11:26,790 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-9) *** authenticate
      10:11:26,791 INFO  [org.keycloak.adapters.RefreshableKeycloakSecurityContext] (http--127.0.0.1-8080-10) checking whether to refresh.
      10:11:26,791 INFO  [org.keycloak.adapters.as7.CatalinaRequestAuthenticator] (http--127.0.0.1-8080-10) Bearer role: admin
      10:11:26,792 INFO  [org.keycloak.adapters.RequestAuthenticator] (http--127.0.0.1-8080-10) Bearer AUTHENTICATED
      10:11:26,795 INFO  [org.keycloak.adapters.RequestAuthenticator] (http--127.0.0.1-8080-9) --> authenticate()
      10:11:26,796 INFO  [org.keycloak.adapters.RequestAuthenticator] (http--127.0.0.1-8080-9) try bearer
      10:11:26,798 INFO  [org.keycloak.adapters.RefreshableKeycloakSecurityContext] (http--127.0.0.1-8080-9) checking whether to refresh.
      10:11:26,799 INFO  [org.keycloak.adapters.as7.CatalinaRequestAuthenticator] (http--127.0.0.1-8080-9) Bearer role: admin
      10:11:26,799 INFO  [org.keycloak.adapters.RequestAuthenticator] (http--127.0.0.1-8080-9) Bearer AUTHENTICATED
      10:11:26,802 INFO  [org.keycloak.adapters.RefreshableKeycloakSecurityContext] (http--127.0.0.1-8080-10) checking whether to refresh.
      10:11:26,816 INFO  [org.keycloak.adapters.RefreshableKeycloakSecurityContext] (http--127.0.0.1-8080-9) checking whether to refresh.
      10:11:26,911 INFO  [org.keycloak.adapters.as7.KeycloakAuthenticatorValve] (http--127.0.0.1-8080-9) invoke
      

              Unassigned Unassigned
              lfryc Lukáš Fryč (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: