Skip to content
Snippets Groups Projects
Commit b54f5e5a authored by Christian Tzolov's avatar Christian Tzolov
Browse files

Prevent logging Env. Variables

   The way that Task (And Task Launcher) handle and use env. variables brings hight risk to expose
   sensitive information. Therefore it is safer not to list variables's values in any log level.
parent 6c192bb9
No related branches found
No related tags found
No related merge requests found
......@@ -177,8 +177,8 @@ public abstract class AbstractLocalDeployerSupport {
localDeployerProperties, debugAddressOption);
logger.info(String.format("Command to be executed: %s", String.join(" ", builder.command())));
logger.debug(String.format("Environment Variables to be used : %s", builder.environment().entrySet().stream()
.map(entry -> entry.getKey() + " : " + entry.getValue()).collect(Collectors.joining(", "))));
//logger.debug(String.format("Environment Variables to be used : %s", builder.environment().entrySet().stream()
// .map(entry -> entry.getKey() + " : " + entry.getValue()).collect(Collectors.joining(", "))));
return builder;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment