The WP/CP log does not print the new session ID in case the setting D is set in the ucsrv.ini for the connection string upon database reconnection:
2. Position = D - Disconnect database after 1000 commits (perhaps due to memory problems).
Automation Engine 21.x, 24.x
Defect DE156688
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Automation Engine
Automation.Engine 21.0.14 - Planned release end May 2025
Automation.Engine 24.4.1 - Planned release July 2025
Public Title: New DB session ID is not written in the AE log file after DB reconnect.
Public Description: A problem has been fixed where the new DB session ID was not written in the AE log file after DB reconnect.