Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job logging: introduce buffered behavior #5950

Merged

Conversation

clebergnu
Copy link
Contributor

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: #5881

@clebergnu clebergnu added this to the #106 - Codename TBD milestone Jun 10, 2024
@clebergnu clebergnu self-assigned this Jun 10, 2024
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: avocado-framework#5881
Signed-off-by: Cleber Rosa <crosa@redhat.com>
Copy link
Contributor

@richtja richtja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @clebergnu, it LGTM. I will wait for @pevogam to have a chance to review it before the merge.

@pevogam
Copy link
Contributor

pevogam commented Jun 11, 2024

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

Copy link
Contributor

@pevogam pevogam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good and tests are passing, I will still need more time to investigate if this actually makes runs more stable and/or faster. But for that I will also need some tagging and long term use to begin with.

@clebergnu clebergnu merged commit d2695b8 into avocado-framework:master Jun 12, 2024
56 of 57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants