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

don't prefix json logging (fixes #9489) #9795

Merged
merged 2 commits into from
Jan 20, 2021
Merged

don't prefix json logging (fixes #9489) #9795

merged 2 commits into from
Jan 20, 2021

Conversation

roccoblues
Copy link
Contributor

@roccoblues roccoblues commented Jan 13, 2021

This fixes the extra spaces at the beginning of json logging (#9489).

However I'm not a 100% happy with the current solution. Ideally we would switch the UI to logging.HcLogUI after reading the config. But to initialize one we need a logger, which needs a UI. Classic Catch-22.

@vercel vercel bot temporarily deployed to Preview – nomad January 13, 2021 13:59 Inactive
@vercel vercel bot temporarily deployed to Preview – nomad-storybook-and-ui January 13, 2021 13:59 Inactive
@tgross tgross self-requested a review January 20, 2021 13:21
Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

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

Hi @roccoblues! Thanks for contributing this PR! I've pulled this branch locally and tested it out and it LGTM.

command/agent/command.go Outdated Show resolved Hide resolved
@vercel vercel bot temporarily deployed to Preview – nomad-storybook-and-ui January 20, 2021 13:34 Inactive
@vercel vercel bot temporarily deployed to Preview – nomad January 20, 2021 13:34 Inactive
@tgross tgross merged commit afa0018 into hashicorp:master Jan 20, 2021
@tgross tgross added this to the 1.0.3 milestone Jan 26, 2021
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants