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

chore: Add more details about log levels #338

Open
sojan-official opened this issue Sep 30, 2022 · 0 comments
Open

chore: Add more details about log levels #338

sojan-official opened this issue Sep 30, 2022 · 0 comments

Comments

@sojan-official
Copy link
Member

    @vishnu-narayanan @sojan-official Thanks for this, let us use this as starting point. Can we also include how the choice was made in https://github.com/chatwoot/chatwoot/pull/4314/files?

The expectation is to write down what are the considerations a new person should take while adding a logline. Please see some of the thoughts that need to be captured below.

  1. When is log-level warn used vs error?
  2. What is the default log level to be used?
  3. Should we add any tags to the logs for easy searching?
  4. Should we capitalize the logs (In the PR some of the logs are using all caps, some are using mixed characters)?

Originally posted by @pranavrajs in #262 (comment)

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