Skip to content

Commit 0c9bddc

Browse files
committed
Update book to add guidlines for logging Kuberenetes reosurce name
1 parent cba5e40 commit 0c9bddc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/book/src/developer/core/logging.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ key value pairs (in order of importance):
108108
the action log and the corresponding error log; While logging before the action, log verbs should use the -ing form.
109109
- Ideally log messages should surface a different level of detail according to the target log level (see [log levels](#log-levels)
110110
for more details).
111+
- If Kubernetes resource name is used in log messages, it should be used as is, For example `Reconciling DockerMachineTemplate`
111112

112113
## Log Levels
113114

0 commit comments

Comments
 (0)