mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
bug 11076: Improve logging - dont login the password in the logs.
status 11076: resolved fixed
This commit is contained in:
parent
5923fe950b
commit
ece07d7d7f
@ -1416,13 +1416,13 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
|
||||
VmwareManager mgr = getServiceContext().getStockObject(VmwareManager.CONTEXT_STOCK_NAME);
|
||||
|
||||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug("Executing /opt/cloud/bin/vpn_lt2p.sh " + argsBuf.toString());
|
||||
s_logger.debug("Executing /opt/cloud/bin/vpn_lt2p.sh ");
|
||||
}
|
||||
|
||||
Pair<Boolean, String> result = SshHelper.sshExecute(controlIp, DEFAULT_DOMR_SSHPORT, "root", mgr.getSystemVMKeyFile(), null, "/opt/cloud/bin/vpn_l2tp.sh " + argsBuf.toString());
|
||||
|
||||
if (!result.first()) {
|
||||
s_logger.error("RemoteAccessVpnCfg command on domR " + argsBuf.toString() + " failed, message: " + result.second());
|
||||
s_logger.error("RemoteAccessVpnCfg command on domR failed, message: " + result.second());
|
||||
|
||||
return new Answer(cmd, false, "RemoteAccessVpnCfg command failed due to " + result.second());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user