Author: Adam Leszczyński <aleszczynski@bersler.com>, version: 1.9.0, date: 2026-01-23 |
This section describes the debug element in the OpenLogReplicator JSON configuration.
All parameters are intended for troubleshooting and testing; use caution when enabling in production.
| Parameter | Type / constraints | Description and notes |
|---|---|---|
|
integer, min: 0, default: 0 |
Stop the process after the specified number of log switches.
Use |
|
integer, min: 0, default: 0 |
Stop the process after the specified number of LWN checkpoints.
Use |
|
integer, min: 0, default: 0 |
Stop the process after the specified number of processed transactions.
Use |
|
string, max length: 128 |
Owner/schema name used when constructing the internal debug table identifier. The user does not have to exit during OLR startup and can be dynamically created later. |
|
string, max length: 128 |
Table name used for debug-triggering. When set, any DML affecting this fully-qualified table may cause the process to stop immediately (commit not required). The table does not have to exit during OLR startup and can be dynamically created later. |
|
Caution
|
These parameters can cause abrupt process termination. Use only in controlled test environments or when collecting targeted diagnostics. |
debug configuration (JSON){
"debug": {
"stop-log-switches": 0,
"stop-checkpoints": 0,
"stop-transactions": 0,
"owner": "TEST_SCHEMA",
"table": "DEBUG_TABLE"
}
}