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
- relates to
-
KNOX-911 Ability to scope cookies to a given Path
- Closed