mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 17:46:38 +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:
commit
2c84e4b42f
@ -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---------
|
||||
|
Loading…
x
Reference in New Issue
Block a user