Github user StephanEwen commented on a diff in the pull request:
https://github.com/apache/flink/pull/2425#discussion_r86550433
--- Diff:
flink-core/src/main/java/org/apache/flink/configuration/GlobalConfiguration.java
---
@@ -144,8 +144,15 @@ private static Configuration loadYAMLResource(File
file) {
continue;
}
- LOG.debug("Loading configuration
property: {}, {}", key, value);
config.setString(key, value);
+
+ //to prevent logging the secure cookie
+
if(key.equals(ConfigConstants.SECURITY_COOKIE) && value != null) {
+ value = "******";
--- End diff --
Can all suppressed keys have a common prefix?
This should also be guarded by a test ;-)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---