summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2020-10-13 14:15:46 -0700
committerStan Hu <stanhu@gmail.com>2020-10-13 14:17:46 -0700
commit9fe764b25e1e860fbabbe4d89326b78e622243a9 (patch)
tree931e755d458b2e47047eb9769809be5828f7c4ac
parentb0cc0364c7fd23f5c69e8d59c432d096d19ec4c8 (diff)
downloadgitlab-shell-sh-suppress-random-correlation-id-log.tar.gz
Drop "generated random correlation ID" log messagesh-suppress-random-correlation-id-log
This message happens all the time and doesn't add a lot of value. Relates to https://gitlab.com/gitlab-com/gl-infra/delivery/-/issues/1275
-rw-r--r--internal/command/command.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/command/command.go b/internal/command/command.go
index c69219b..7e0617e 100644
--- a/internal/command/command.go
+++ b/internal/command/command.go
@@ -54,7 +54,6 @@ func ContextWithCorrelationID() (context.Context, func()) {
if err != nil {
log.WithError(err).Warn("unable to generate correlation ID")
} else {
- log.Info("generated random correlation ID")
ctx = correlation.ContextWithCorrelation(ctx, correlationID)
}
}