2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-18 01:00:23 +00:00

Modify expression of enhancing command.log depending on Mark's comment

This commit is contained in:
hu-weihua
2017-01-22 22:08:25 -05:00
parent 4c69fdeac2
commit f995129e2d

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---------