Skip to content

Commit b0b1c31

Browse files
authored
Merge pull request #18 from bufferapp/task/level-readme
Better description of different levels
2 parents efa0a73 + 17ffed3 commit b0b1c31

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ If you wish to see more logs, simply set the `LOG_LEVEL` to the desired level. H
5151

5252
| Levels | Use case | Examples |
5353
|:-:|---|---|
54-
| DEBUG | Logs that are used for interactive investigation during development. These logs should primarily contain information useful for debugging and have no long-term value. | |
55-
| INFO | Informational messages | |
56-
| NOTICE | Logs that track the general flow of the application. This is the default level | |
57-
| WARNING | Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise cause the application execution to stop. | |
58-
| ERROR | Logs that highlight when the current flow of execution is stopped due to a failure. These should indicate a failure in the current activity, not an application-wide failure. | |
59-
| CRITICAL | Logs that describe an unrecoverable application or system crash, or a catastrophic failure that requires immediate attention. | |
54+
| DEBUG | Information used for interactive investigation, with no long-term value.| Printing function names, steps inside a function. |
55+
| INFO | Interesting events. Track the general flow of the application. | User logs in, SQL logs, worker process/delete a message... |
56+
| NOTICE | Uncommon events. **This is the default verbosity level**. | Missing environment variables, page redirection, pod starting/restarting/terminating, retrying to query an API... |
57+
| WARNING | Exceptional occurrences that are not errors. Undesirable things that are not necessarily wrong. | Use of deprecated APIs, poor use of an API, unauthorized access, pod restart because of memory limit ... |
58+
| ERROR | Runtime errors. Highlight when the current flow of execution is stopped due to a failure. | Exceptions messages, incorect credentials or permissions... |
59+
| CRITICAL | Critical conditions. Describe an unrecoverable application, system crash, or a catastrophic failure that requires immediate attention. | Application component unavailable, unexpected exception. entire website down, database unavailable ...|

0 commit comments

Comments
 (0)