I’m writing a test which will run for multiple days (30 day continuous load test) to check performance.
So I’m using log match api with start and end time arguments(to check in multiple day log files), but in PTL (@ log_lines method – internally called by log_match to get matching lines from log file) starttime and endtime are not used
And if day argument is not given then test will take current day to get log file.
Using day and starttime/endtime both arguments will cause conflict(if user passes starttime/endtime timestamps of past day).
So my question is: can we remove day argument from log_match api ?
starttime/endtime hold both date and time information so we can achieve what “day” argument is intended for using start and/or end time.
starttime and endtime will provide current time in seconds(epoch time) which includes day and time information.
As you said using this information PTL can parse day easily.