Log Parsers
Utility functions to parse logging files, extracting data, separating by ID, etc.
See also autopilot.utils.loggers and the autopilot.utils.loggers.Log class
Classes:
Functions:
|
Extract data from networking logfiles. |
- extract_data(logfile: Path, include_backups: bool = True, output_dir: Path | None = None) List[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.2output_dir (Path) – If present, save output to directory as a
.jsonfile with header information from the'START'message, and acsvfile with the trial data
- Returns:
List of extracted data and headers
- Return type: