fix: remove duplicate log messages in detached SDG (backport #3031)#3038
Merged
mergify[bot] merged 1 commit intorelease-v0.23instructlab/instructlab:release-v0.23from Jan 28, 2025
mergify/bp/release-v0.23/pr-3031instructlab/instructlab:mergify/bp/release-v0.23/pr-3031Copy head branch name to clipboard
Merged
fix: remove duplicate log messages in detached SDG (backport #3031)#3038mergify[bot] merged 1 commit intorelease-v0.23instructlab/instructlab:release-v0.23from mergify/bp/release-v0.23/pr-3031instructlab/instructlab:mergify/bp/release-v0.23/pr-3031Copy head branch name to clipboard
mergify[bot] merged 1 commit intorelease-v0.23instructlab/instructlab:release-v0.23from
mergify/bp/release-v0.23/pr-3031instructlab/instructlab:mergify/bp/release-v0.23/pr-3031Copy head branch name to clipboard
Conversation
currently, since we add a log file handler and capture the logs from the runnning process when running -dt, there are duplicate log messages. Only add the log file handler if running in attached mode Signed-off-by: Charlie Doern <cdoern@redhat.com> (cherry picked from commit f9090d0)
6 tasks
cdoern
approved these changes
Jan 28, 2025
nathan-weinberg
approved these changes
Jan 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
currently, since we add a log file handler and capture the logs from the runnning process when running -dt, there are duplicate log messages. Only add the log file handler if running in attached mode
Checklist:
conventional commits.
This is an automatic backport of pull request #3031 done by [Mergify](https://mergify.com).