From 966dcd66d5292565a3e9829ccb4e0f4b52a55036 Mon Sep 17 00:00:00 2001 From: Ryan Doherty Date: Tue, 10 Dec 2024 11:37:00 -0500 Subject: [PATCH] Add log line when transferring data from guest -> registered user --- .../main/java/org/gusdb/wdk/service/service/SessionService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Service/src/main/java/org/gusdb/wdk/service/service/SessionService.java b/Service/src/main/java/org/gusdb/wdk/service/service/SessionService.java index 8f52c70a1..bd2caa88c 100644 --- a/Service/src/main/java/org/gusdb/wdk/service/service/SessionService.java +++ b/Service/src/main/java/org/gusdb/wdk/service/service/SessionService.java @@ -219,6 +219,7 @@ public Response processDbLogin(@HeaderParam(REFERRER_HEADER_KEY) String referrer } protected void transferOwnership(User oldUser, User newUser, WdkModel wdkModel) throws WdkModelException { + LOG.info("Migrating data from guest user " + oldUser.getUserId() + " to registered user " + newUser.getUserId()); // transfer dataset ownership wdkModel.getDatasetFactory().transferDatasetOwnership(oldUser, newUser); // transfer strategy ownership