2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-19 04:40:21 +00:00

Merge pull request #145 from hu-weihua/cmdlog

fix bug#140 offline trouble shooting time stamp wrong
This commit is contained in:
Xiaopeng Wang
2015-09-02 18:21:34 +08:00

View File

@ -2433,6 +2433,7 @@ sub service_connection {
#----used for command log start----------
my ($sec,$min,$hour,$mday,$mon,$year) = localtime(time());
$year += 1900;
$mon += 1;
$cmdlog_alllog .= "[Date] $year-$mon-$mday $hour:$min:$sec\n";
#print ">>>>>>>cmdlog request dumper>>>>>>>>\n";