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

Enhancement: Log component info #35

Open
carrolp opened this issue Dec 5, 2023 · 0 comments
Open

Enhancement: Log component info #35

carrolp opened this issue Dec 5, 2023 · 0 comments

Comments

@carrolp
Copy link
Contributor

carrolp commented Dec 5, 2023

Is your feature request related to a problem? Please describe.
When request-util logs are produced, it is not immediately obvious from where they originated -- e.g. "service X version Y produced this log". When problems are identified, it's not immediately obvious that the service is a very old version for example.

Describe the solution you'd like
When requestUtil logs are generated, include information about the component. Perhaps by loading a string from a well defined environment variable like REQUTIL_COMPONENT and (if available) including it in ReqUtil logs. Consuming components/services could set this env var to an appropriate name+version string.

Describe alternatives you've considered
TBD

Additional context
TBD

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

No branches or pull requests

1 participant