Skip to content

Commit 3fbcb3c

Browse files
authored
[ML] Add job id to reverting snapshot message (#126025)
1 parent 42b7b78 commit 3fbcb3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportRevertModelSnapshotAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ private static void getModelSnapshot(
266266
Consumer<ModelSnapshot> handler,
267267
Consumer<Exception> errorHandler
268268
) {
269-
logger.info("Reverting to snapshot '" + request.getSnapshotId() + "'");
269+
logger.info("[{}] Reverting to snapshot {}", request.getJobId(), request.getSnapshotId());
270270

271271
if (ModelSnapshot.isTheEmptySnapshot(request.getSnapshotId())) {
272272
handler.accept(ModelSnapshot.emptySnapshot(request.getJobId()));

0 commit comments

Comments
 (0)