avocado-framework / avocado

Avocado is a set of tools and libraries to help with automated testing. One can call it a test framework with benefits. Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test.
https://avocado-framework.github.io/
Other
336 stars 335 forks source link

Job logging: introduce buffered behavior #5950

Closed clebergnu closed 3 weeks ago

clebergnu commented 3 weeks ago

This introduces an option that adds the buffering layer on top of the file logging handler.

Plamen Dimitrov has reported issues with heavy logging causing the status server/client connection to reset. He has suggested and has been using a workaround like this.

Reference: https://github.com/avocado-framework/avocado/pull/5881

pevogam commented 3 weeks ago

Great progress @clebergnu! I will likely be able to take a look at this some time tomorrow.