irods / irods_testing_environment

BSD 3-Clause "New" or "Revised" License
8 stars 14 forks source link

Create searchable and visually obvious errors in logs when possible #200

Open MartinFlores751 opened 5 months ago

MartinFlores751 commented 5 months ago

Issue Notes

Stemming from #198.

It would be nice for both testing and debugging purposes to visually separate errors, and provide easy mechanisms for grepping them, for both test and script debugging.

An exaggerated example is as follows:

...                                                                                    
2024-04-26 14:55:53,340 - [rockylinux-9-mysql-8_irods-catalog-provider_1]: exception raised while running test                                                          
2024-04-26 14:55:53,340 - HERE IS THE EXCEPTION: ---------------> InvalidGitRepositoryError('/home/marflo/Documents/iRODS') <-----------------                          
2024-04-26 14:55:53,341 - [[1]]                                                                                                                                         
2024-04-26 14:55:53,341 - [[1]]                                                                                                                                         
2024-04-26 14:55:53,341 - ==== begin test run results ====                                                                                                              
...

Ideas for improvements