Skip to content

Fix log warnings for HTTP server with source name#5689

Merged
dlvenable merged 1 commit intoopensearch-project:mainfrom
ps48:fix-log-warn-http-server
May 12, 2025
Merged

Fix log warnings for HTTP server with source name#5689
dlvenable merged 1 commit intoopensearch-project:mainfrom
ps48:fix-log-warn-http-server

Conversation

@ps48
Copy link
Copy Markdown
Member

@ps48 ps48 commented May 9, 2025

Description

The log warning message point to http source in the common create server http interfaces. This can be misleading the users to debug errors hence, changing this warning to point to the sourceName similar to how it is done for the GRPC server.,

Issues Resolved

#5677 (comment)

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
@ps48 ps48 changed the title Fix log warnings for HTTP server instanced source names Fix log warnings for HTTP server with source name May 9, 2025
Copy link
Copy Markdown
Collaborator

@KarstenSchnitter KarstenSchnitter left a comment

Choose a reason for hiding this comment

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

Thanks, looks good to me.

Copy link
Copy Markdown
Member

@dlvenable dlvenable left a comment

Choose a reason for hiding this comment

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

Thank you @ps48 !

@dlvenable dlvenable merged commit a75e8cc into opensearch-project:main May 12, 2025
38 of 47 checks passed
alparish pushed a commit to alparish/data-prepper that referenced this pull request May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants