last;
}
- # Store the current timestamp of the log line
- &store_current_timestamp($prefix_vars{'t_timestamp'});
-
# Jump to the last line parsed if required
next if (!&check_incremental_position($prefix_vars{'t_timestamp'}, join(',', @$row)));
+ # Store the current timestamp of the log line
+ &store_current_timestamp($prefix_vars{'t_timestamp'});
+
# Set query parameters as global variables
$prefix_vars{'t_dbuser'} = $row->[1] || '';
$prefix_vars{'t_dbname'} = $row->[2] || '';
last;
}
- # Store the current timestamp of the log line
- &store_current_timestamp($prefix_vars{'t_timestamp'});
-
# Jump to the last line parsed if required
next if (!&check_incremental_position($prefix_vars{'t_timestamp'}, $line));
$cur_pid = $prefix_vars{'t_pid'};
$goon = 1;
+ # Store the current timestamp of the log line
+ &store_current_timestamp($prefix_vars{'t_timestamp'});
+
# Extract information from log line prefix
if (!$log_line_prefix) {
&parse_log_prefix($prefix_vars{'t_logprefix'});
last;
}
- # Store the current timestamp of the log line
- &store_current_timestamp($prefix_vars{'t_timestamp'});
-
# Jump to the last line parsed if required
next if (!&check_incremental_position($prefix_vars{'t_timestamp'}, $line));
$cur_pid = $prefix_vars{'t_pid'};
+ # Store the current timestamp of the log line
+ &store_current_timestamp($prefix_vars{'t_timestamp'});
+
# Extract information from log line prefix
if (!$log_line_prefix) {
&parse_log_prefix($prefix_vars{'t_logprefix'});