Skip to content

Commit 9f3c43a

Browse files
committed
done coordinatino, discovery, driver logs
1 parent 311abba commit 9f3c43a

File tree

4 files changed

+69
-69
lines changed

4 files changed

+69
-69
lines changed

log/coordination.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func internalCoordination(
7070

7171
return func(info trace.CoordinationAlterNodeDoneInfo) {
7272
if info.Error == nil {
73-
l.Log(WithLevel(ctx, INFO), "alter coordination node completed",
73+
l.Log(WithLevel(ctx, INFO), "alter coordination node done",
7474
kv.Latency(start),
7575
)
7676
} else {
@@ -317,7 +317,7 @@ func internalCoordination(
317317
start := time.Now()
318318

319319
return func(info trace.CoordinationSessionStartDoneInfo) {
320-
l.Log(ctx, "coordination session start completed",
320+
l.Log(ctx, "coordination session start done",
321321
kv.Latency(start),
322322
kv.Error(info.Error),
323323
kv.Version(),

log/discovery.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ func internalDiscovery(l Logger, d trace.Detailer) (t trace.Discovery) {
4949

5050
return func(info trace.DiscoveryWhoAmIDoneInfo) {
5151
if info.Error == nil {
52-
l.Log(ctx, "done discovery whoami",
52+
l.Log(ctx, "discovery whoami done",
5353
kv.Latency(start),
5454
kv.String("user", info.User),
5555
kv.Strings("groups", info.Groups),
5656
)
5757
} else {
58-
l.Log(WithLevel(ctx, WARN), "failed discovery whoami",
58+
l.Log(WithLevel(ctx, WARN), "discovery whoami failed",
5959
kv.Error(info.Error),
6060
kv.Latency(start),
6161
kv.Version(),

0 commit comments

Comments
 (0)