2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 12:20:40 +00:00

fix bug#140 offline trouble shooting time stamp wrong

This commit is contained in:
huweihua
2015-09-01 22:38:56 -04:00
parent e7c5580a10
commit fc53bb3b3c

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