Force configuration of sensitive informations when configuration changes. Handles case when properties are commented out
@@ -100,13 +100,8 @@ public class Activator implements BundleActivator {
logging.setLogBinary(logBinary);
}
- if (!sensitiveElementNames.isEmpty()) {
logging.setSensitiveElementNames(sensitiveElementNames);
- }
-
- if (!sensitiveProtocolHeaderNames.isEmpty()) {
logging.setSensitiveProtocolHeaderNames(sensitiveProtocolHeaderNames);
- }
if (intentReg == null) {
Dictionary<String, Object> properties = new Hashtable<>();
