-
- Téléchargements
Fixes #3805, reverted change in log importer that looked for end-of-line after...
Fixes #3805, reverted change in log importer that looked for end-of-line after format regex match and modified format autodetection logic to pick the format based on whether the format matches and the number of groups returned in the match. Notes: * Added several more tests to log importer tests.py. Added tests for checking format of log files w/ extra junk info on log lines. Added individual tests for parsing regex format. * Modified log files used in ImportLogs test, added extra junk info to end of some lines. * Fixed failing test in tests.py for the S3 log file format.
parent
1d1a2e47
Branches
Aucune étiquette associée trouvée
Affichage de
- misc/log-analytics/import_logs.py 32 ajouts, 10 suppressionsmisc/log-analytics/import_logs.py
- misc/log-analytics/tests/tests.py 125 ajouts, 3 suppressionsmisc/log-analytics/tests/tests.py
- tests/resources/fake_logs.log 2 ajouts, 2 suppressionstests/resources/fake_logs.log
- tests/resources/fake_logs_enable_all.log 1 ajout, 1 suppressiontests/resources/fake_logs_enable_all.log
Veuillez vous inscrire ou vous se connecter pour commenter