Do not log token (#570)

This commit is contained in:
Uwe Seimet
2021-12-27 22:20:26 +01:00
committed by GitHub
parent 270a3688c6
commit 97127cf666

View File

@@ -858,7 +858,8 @@ bool ProcessCmd(const CommandContext& context, const PbDeviceDefinition& pb_devi
s << ", ";
}
isFirst = false;
s << "'" << param.first << "=" << param.second << "'";
string value = param.first != "token" ? param.second : "???";
s << "'" << param.first << "=" << value << "'";
}
}