Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-930

ScopingCookies Feature Logging too Much

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.13.0
    • Server
    • None

    Description

      KNOX-911 introduced too much logging of whether the feature for scoping cookies to the gateway.path is enabled. Rather than logging it while contributing each service within a topology, we should move the logging to the config init method.

      See related logging:

      2017-05-01 15:17:47,719 INFO  hadoop.gateway (DefaultGatewayServices.java:initializeContribution(201)) - Credential store found for the cluster: sandbox - no need to create one.
      2017-05-01 15:17:47,794 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,797 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,797 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,797 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,797 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,801 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,801 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,807 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,807 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,807 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,814 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,814 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,814 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,814 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,821 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,828 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,828 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,828 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,829 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,829 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,829 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,829 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,829 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,829 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,829 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,829 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,829 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,834 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,839 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,839 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,849 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,849 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,849 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,853 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,854 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,854 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,854 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,854 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,864 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,864 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,864 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,864 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,865 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,872 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,873 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,880 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,880 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      2017-05-01 15:17:47,880 INFO  hadoop.gateway (GatewayConfigImpl.java:isCookieScopingToPathEnabled(814)) - Cookie scoping feature enabled: false
      

      Attachments

        Issue Links

          Activity

            People

              lmccay Larry McCay
              lmccay Larry McCay
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: