diff --git a/xCAT-probe/lib/perl/LogParse.pm b/xCAT-probe/lib/perl/LogParse.pm index 3161703ac..ec8cb98b7 100644 --- a/xCAT-probe/lib/perl/LogParse.pm +++ b/xCAT-probe/lib/perl/LogParse.pm @@ -25,20 +25,20 @@ use File::Basename; $self->{verbose}:scalar, Offer verbose information, used for handling feature logic $self->{load_type}:scalar, $::MONITOR or $::REPLAY, used for distinguishing monitor and replay. private attributes: - $self->{log_open_info}: reference of a hash, used to save the log file operating information. + $self->{log_open_info}: reference of a hash, used to save the log file operating information. $self->{current_ref_year}: scalar, the year information of current time. such as 2016. Used for log time parsing $self->{current_ref_time}: scalar, the epoch format of current time, such as 1472437250. Used for log time parsing - $self->{debug}: Scalar, offer debug information, used for hanlde code logic, used by developer to debug function running + $self->{debug}: Scalar, offer debug information, used for hanlde code logic, used by developer to debug function running $self->{debuglogpath}: Scalar, the path of debug log files $self->{debuglogfd}: File descriptor of debug log files The structure of "log_open_info" hash is: - $self->{log_open_info}->{}{openfd} : The file descriptor of sepecific openning log file + $self->{log_open_info}->{}{openfd} : The file descriptor of sepecific openning log file $self->{log_open_info}->{}{rotate_file_list} : Array, all rotate file about related log file - $self->{log_open_info}->{}{openning_file_index} : scalar, the index of openning file in rotate_file_list + $self->{log_open_info}->{}{openning_file_index} : scalar, the index of openning file in rotate_file_list $self->{log_open_info}->{}{next_read_point} : scalar, the read point of one log file, used by 'seek' function - $self->{log_open_info}->{}{filetype} : scalar, the type of current log file, $::LOGTYPE_RSYSLOG or $::LOGTYPE_HTTP + $self->{log_open_info}->{}{filetype} : scalar, the type of current log file, $::LOGTYPE_RSYSLOG or $::LOGTYPE_HTTP $self->{log_open_info}->{}{next_start_time} : scalar, the next read time Returns: @@ -116,7 +116,7 @@ sub obtain_candidate_mn_hostname_in_log { A hash which save all candidate log file information $candidate_log{