Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/IbcAlpha/IBC
Browse files Browse the repository at this point in the history
  • Loading branch information
rlktradewright committed Oct 25, 2021
2 parents 189d487 + 938b672 commit 82c24dc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/ibcalpha/ibc/IbcTws.java
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,16 @@ private static void printProperties() {
Utils.logRawToConsole("------------------------------------------------------------");
while (i.hasMoreElements()) {
String props = (String) i.nextElement();
Utils.logRawToConsole(props + " = " + (String) p.get(props));
String vals = (String) p.get(props);
if (props.equals("sun.java.command")) {
//hide credentials
String[] args = vals.split(" ");
for (int j = 2; j < args.length - 1; j++) {
args[j] = "***";
}
vals = String.join(" ", args);
}
Utils.logRawToConsole(props + " = " + vals);
}
Utils.logRawToConsole("------------------------------------------------------------");
}
Expand Down

0 comments on commit 82c24dc

Please sign in to comment.