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

[status/GUI] Avoid displaying log file path if it's empty #3264

Merged
merged 1 commit into from
Apr 8, 2019

Conversation

olivielpeau
Copy link
Member

@olivielpeau olivielpeau commented Apr 5, 2019

What does this PR do?

Avoid displaying log file path if it's empty.

Having an empty log_file entry in the config is actually the default, since unlike other config params the default isn't set on config.Datadog.

Follow-up to #3200

Motivation

Avoid displaying an empty Log File entry on the status page and GUI. We'll only display it if it was customized by the user.

Additional Notes

A better fix would be to make it so that the log_file config option has a sane default value on the config struct, but it's a significant change that I don't want to do this late in the 6.11.0 release process.

@olivielpeau olivielpeau added this to the 6.11.0 milestone Apr 5, 2019
@olivielpeau olivielpeau requested a review from a team as a code owner April 5, 2019 18:03
@olivielpeau olivielpeau added the [deprecated] team/agent-core Deprecated. Use metrics-logs / shared-components labels instead.. label Apr 8, 2019
@olivielpeau olivielpeau merged commit 0097ab0 into master Apr 8, 2019
@olivielpeau olivielpeau deleted the olivielpeau/avoid-displaying-empty-logfile branch April 8, 2019 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog [deprecated] team/agent-core Deprecated. Use metrics-logs / shared-components labels instead..
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants