2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-22 22:15:30 +00:00

Merge pull request #2437 from hu-weihua/commandlog

Modify expression of enhancing command.log depending on Mark's comment
This commit is contained in:
Mark Gurevich
2017-02-01 16:28:01 -05:00
committed by GitHub

View File

@ -2863,7 +2863,7 @@ sub service_connection {
# ----used for command log start-------
my $reqhandletime = time()-$cmdlog_starttime;
$cmdlog_alllog .= "[TimeConsuming] $reqhandletime S\n";
$cmdlog_alllog .= "[ElapsedTime] $reqhandletime s\n";
cmdlog_submitlog();
# ----used for command log end---------
@ -2934,7 +2934,7 @@ sub relay_fds { # Relays file descriptors from pipes to children to the SSL sock
# ----used for command log start-------
$cmdlog_alllog .= "Client abort requested\n";
my $reqhandletime = time()-$cmdlog_starttime;
$cmdlog_alllog .= "[TimeConsuming] $reqhandletime S\n";
$cmdlog_alllog .= "[ElapsedTime] $reqhandletime s\n";
cmdlog_submitlog();
# ----used for command log end---------