Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


FORUM: http://community.pbspro.org/t/does-ptl-log-match-api-need-day-and-starttime-endtime-arguments-both/1392

...

As starttime and endtime provides day information also, so log_match can use this info to get log files to search/match accordingly.

...

After this chage log_match api will be:

def log_match(self, msg=None, id=None, n=50, tail=True, allmatch=False,
regexp=False, max_attempts=None, interval=None,
starttime=None, endtime=None, level=logging.INFO,
existence=True)