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:
@ -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";
|
||||
|
Reference in New Issue
Block a user