diff --git a/frontend/classes/sshconnector.php b/frontend/classes/sshconnector.php index 8d3045b..405d8a5 100644 --- a/frontend/classes/sshconnector.php +++ b/frontend/classes/sshconnector.php @@ -89,29 +89,12 @@ class SshConnector extends CPHPBaseClass $command = "python /etc/cvm/start_tunnel.py {$sHost} {$sUser} {$sPort} {$sKeyFile} {$sSessionKey}"; - $steps = array(); - - foreach(debug_backtrace() as $step) - { - try - { - $allargs = implode(", ", $step['args']); - } - catch (Exception $e) - { - $allargs = "[unserializable]"; - } - - $steps[] = "{$step['file']}:{$step['line']} => {$step['class']}{$step['type']}{$step['function']}({$allargs})"; - } - cphp_debug_snapshot(array( "action" => "start tunnel", "db-tunnelkey" => $this->node->sTunnelKey, "db-utunnelkey" => $this->node->uTunnelKey, "ssh-tunnelkey" => $this->tunnel_key, - "arg-tunnelkey" => $sSessionKey, - "trace" => $steps + "arg-tunnelkey" => $sSessionKey )); exec($command, $output, $returncode);