()
| 12 | |
| 13 | |
| 14 | def get_filepaths(): |
| 15 | filepaths = [] |
| 16 | for folder, dirs, files in os.walk(log_dir): |
| 17 | print("Crawling folder: " + folder) |
| 18 | filepaths.extend([os.path.join(folder, filename) for filename in files]) |
| 19 | return filepaths |
| 20 | |
| 21 | |
| 22 | def collect(): |