Skip to content

chore: Add more details about log levels #338

Open
@sojan-official

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions