diff options
| author | Kubernetes Prow Robot <k8s-ci-robot@users.noreply.github.com> | 2020-10-08 09:36:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-08 09:36:38 -0700 |
| commit | 01480706ed3fa135eb3d0ad428c1ca29ba8cf310 (patch) | |
| tree | 883645b1f389abfa6a418fd8feaaa6dab9c64fb3 | |
| parent | 1321e757233ce1b2025c6471cdcddc8d9f5cabe8 (diff) | |
| parent | 4eeba4d57bed01502cb09598a74d21671d4ee876 (diff) | |
Merge pull request #5188 from mickeypash/patch-1
Mention the new structured logging convention
| -rw-r--r-- | contributors/devel/sig-instrumentation/logging.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contributors/devel/sig-instrumentation/logging.md b/contributors/devel/sig-instrumentation/logging.md index c4da6829..d7e052c0 100644 --- a/contributors/devel/sig-instrumentation/logging.md +++ b/contributors/devel/sig-instrumentation/logging.md @@ -29,6 +29,8 @@ The following conventions for the klog levels to use. * Context to understand the steps leading up to errors and warnings * More information for troubleshooting reported issues +* klog.InfoS() - structured logs to the INFO log + As per the comments, the practical default level is V(2). Developers and QE environments may wish to run at V(3) or V(4). If you wish to change the log level, you can pass in `-v=X` where X is the desired maximum level to log. |
