Skip to content

Commit a1ba0b7

Browse files
Clarify log levels (#106)
1 parent 862dba9 commit a1ba0b7

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

docs/standards/logging_standards.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,14 @@ Consider the logging any third-party libraries do and configure them appropriate
1818

1919
## Log different levels across environments
2020

21-
Different log levels are useful in different environments. Use the following as a baseline approach and ensure that log levels are easily configurable:
21+
Different log levels are useful in different environments.
22+
23+
Consider an appropriate level of logging for each environment that fits your specific context.
24+
25+
Use the following example as a baseline approach and ensure that log levels are easily configurable:
2226

2327
- **Development**: Log debug messages to assist with troubleshooting.
24-
- **Testing/Staging**: Focus on warnings and errors to validate application behavior.
28+
- **Testing/Staging**: Focus on warnings and errors to validate application behaviour.
2529
- **Production**: Restrict logs to errors and critical warnings to minimize noise and protect performance.
2630

2731
## Use structured logs

0 commit comments

Comments
 (0)