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

Mark logging.ecs and json as deprecated #28772

Merged

Conversation

michel-laterman
Copy link
Contributor

@michel-laterman michel-laterman commented Nov 2, 2021

What does this PR do?

Mark logging.ecs and logging.json as deprecated for the v7.16.0 release.
These attributes will no longer be used in 8.0.

Why is it important?

These settings will be removed for 8.0 as part of the work to get all components producing ECS logs by default.
The PR is #28573

Checklist

  • [] My code follows the style guidelines of this project
  • [] I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • [] I have added tests that prove my fix is effective or that my feature works
  • [] I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Related issues

@michel-laterman michel-laterman added docs v7.16.0 Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team labels Nov 2, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Nov 2, 2021
@elasticmachine
Copy link
Collaborator

elasticmachine commented Nov 2, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Duration: 154 min 57 sec

❕ Flaky test report

No test was executed to be analysed.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

@kvch
Copy link
Contributor

kvch commented Nov 3, 2021

Maybe add a cfgwarn message if the user configures the option.

@michel-laterman
Copy link
Contributor Author

@kvch there will be a circular dependency if I try to use cfgwarn within logp

Copy link
Contributor

@dedemorton dedemorton left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for contributing!

@kvch
Copy link
Contributor

kvch commented Nov 4, 2021

🤦

@kvch
Copy link
Contributor

kvch commented Nov 4, 2021

Then how about noting the deprecation in the configuration files as well?

@michel-laterman michel-laterman requested review from a team as code owners November 4, 2021 17:39
@michel-laterman michel-laterman merged commit 15affe2 into elastic:7.16 Nov 4, 2021
@michel-laterman michel-laterman deleted the deprecate-logging-attributes branch November 4, 2021 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team v7.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants