Log Parsers
Utility functions to parse logging files, extracting data, separating by ID, etc.
See also autopilot.core.loggers
and the autopilot.core.loggers.Log
class
Classes:
|
Functions:
|
Extract data from networking logfiles. |
- extract_data(logfile: pathlib.Path, include_backups: bool = True, output_dir: Optional[pathlib.Path] = None) List[autopilot.utils.log_parsers.Data_Extract] [source]
Extract data from networking logfiles.
- Parameters
logfile (
pathlib.Path
) – Logfile to parseinclude_backups (bool) – Include log backups (default
True
), eg.logfile.log.1
,logfile.log.2
output_dir (Path) – If present, save output to directory as a
.json
file with header information from the'START'
message, and acsv
file with the trial data
- Returns
List of extracted data and headers
- Return type