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

Fix missing logs in showAgentLogs #149

Merged
merged 3 commits into from
Jul 23, 2019
Merged

Conversation

jglick
Copy link
Member

@jglick jglick commented Jul 23, 2019

While trying to use my new utility from #127, I kept on missing remote log messages, even (randomly) in the original use case of FileLogStorageTest. At first I suspected that jenkinsci/jenkins#3961 was to blame, and indeed a flush call might be necessary, but I was running on an older core prior to this patch! Finally I recalled that Logger can be garbage-collected and your customizations lost. With this patch, I am getting messages reliably at last.

@jglick jglick requested a review from a team July 23, 2019 17:23
Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

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

LGTM as long as it works

@jglick jglick merged commit cbb5c42 into jenkinsci:master Jul 23, 2019
@jglick jglick deleted the showAgentLogs branch July 23, 2019 19:28
@jglick jglick added the bug label Jul 23, 2019
@oleg-nenashev oleg-nenashev changed the title Fixing showAgentLogs Fix missing logs in showAgentLogs Jul 23, 2019
jglick added a commit to jglick/workflow-durable-task-step-plugin that referenced this pull request Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants