Skip to content

Commit

Permalink
Added engine log in standalone mode
Browse files Browse the repository at this point in the history
  • Loading branch information
marcanpilami committed Dec 5, 2024
1 parent 5eb7398 commit 1c18a01
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,9 @@ public void start(String nodeName, JqmEngineHandler h)
if (standaloneMode)
{
final var localIp = StandaloneHelpers.getLocalIpAddress();
cnx.runRawUpdate("ALTER SEQUENCE JQM_PK RESTART WITH " + idSequenceBaseFromIp(localIp));
var idStart = idSequenceBaseFromIp(localIp);
jqmlogger.info("Running in standalone (no shared database) mode with local seed {} - starting IDs at {}", localIp);
cnx.runRawUpdate("ALTER SEQUENCE JQM_PK RESTART WITH " + idStart);
}
}

Expand Down

0 comments on commit 1c18a01

Please sign in to comment.