chatwoot/docs

chore: Add more details about log levels

sojan-official opened this issue · 0 comments

    @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)