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

Core library, v1 #1

Closed
3 tasks done
applejag opened this issue May 20, 2021 · 0 comments · Fixed by #22
Closed
3 tasks done

Core library, v1 #1

applejag opened this issue May 20, 2021 · 0 comments · Fixed by #22
Assignees
Labels
enhancement New feature or request
Projects

Comments

@applejag
Copy link
Contributor

applejag commented May 20, 2021

Based on RFC iver-wharf/rfcs#4, https://iver-wharf.github.io/rfcs/published/0004-core-lib-repo

Logging should take use of the configuration reading. Below some proposition of environment variables:

WHARF_LOGGING_FORMAT=json
WHARF_LOGGING_LEVEL=warn
WHARF_LOGGING_LEVEL_HTTP_IN=debug
WHARF_LOGGING_LEVEL_HTTP_OUT=trace
WHARF_LOGGING_LEVEL_SQL=debug

Letting the user of this logging library be able to declare logging scopes and then map those to different configs is quite essential

@applejag applejag added the enhancement New feature or request label May 20, 2021
@applejag applejag self-assigned this May 20, 2021
@applejag applejag added this to To do in Backlog via automation May 20, 2021
@applejag applejag mentioned this issue Jul 13, 2021
Backlog automation moved this from To do to Done Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant