Skip to content

Commit

Permalink
reduce excessive logging
Browse files Browse the repository at this point in the history
Signed-off-by: automike <[email protected]>
  • Loading branch information
mikeliucc committed Nov 26, 2021
1 parent 4d980b2 commit bbe6d82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/org/nexial/core/variable/Transformer.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ ExpressionDataType transform(T data, ExpressionFunction function) throws Express
throw new ExpressionFunctionException(typeName, functionName, "Invalid data type after transformation");
}

ExecutionContext context = ExecutionThread.get();
if (context == null || StringUtils.isBlank(context.getRunId()) || context.isVerbose()) {
ConsoleUtils.log(msgPrefix + outcome);
}
// ExecutionContext context = ExecutionThread.get();
// if (context == null || StringUtils.isBlank(context.getRunId()) || context.isVerbose()) {
// ConsoleUtils.log(msgPrefix + outcome);
// }

return (ExpressionDataType) outcome;
} catch (IllegalAccessException | InvocationTargetException e) {
Expand Down

0 comments on commit bbe6d82

Please sign in to comment.