Read the Capture Agent and server logs¶
The Diagnostics tab shows a Capture Agent's log inside the SQDR Control Center or, on the server node, the logs of the Launch Agent, the SQDR Control Center (Jetty) and Db2: you don't need access to the files on the server. Use it to:
- find out why an agent failed, stopped or fell behind;
- see what happened around a warning, a statistic or a Health Check finding;
- search the whole log for a message;
- read the server-wide logs.

Find the entries that matter¶
Each row is one log entry, with stack traces and other continuation lines folded under it; the Message filter also searches the folded lines. To find why an agent failed or fell behind:
- Filter the severity to Warnings+.
- Turn on Group repeats: one row per repeated message (same level, numbers ignored), with how many times it occurred and since when, so a single error isn't lost among thousands of the same warning. show all on a row turns grouping off and sets the Message filter to its text.
- Read the insight under a SEVERE or WARNING entry that matches a known failure.
The time ranges Last 1 h, Last 24 h and Last 7 d end at the newest entry of the logs, not at the current time, so a stopped agent still shows its last hour. In Custom..., enter From and To in the server's clock, as printed in the log (the To minute is included). All time is the newest part of the logs, as much as the view holds; Oldest first goes to the true start of the selected files.
On an agent, Procedure Logs: adds the agent's stored-procedure logs (proceduren.log), which record the
requests of the Replicator Service fetching changes; the files you pick are merged with the capture log. Set
Capture Logs: to None to see only the procedure logs, or to All files to merge all generations of the
capture log.
Coming from Statistics or a Health Check¶
View log for this hour on the Statistics tab, and a finding in a Health Check, open this tab at the time in question, filtered to Warnings+ with the hour highlighted. The time range is Custom..., from an hour before that hour to an hour after it; All time shows the rest of the log.
What the hints under errors mean¶
An insight is a hint under a SEVERE or WARNING entry that matches a known failure, distilled from recurring support cases. It names the likely cause and what to check, for example:
- a broken install or Java runtime (usually an incomplete upgrade);
- a missing license configuration on the machine;
- credentials rejected by the database (after a password change, update it in the agent's Configuration, and in every other agent using the same user);
- a database or the agent's own port that can't be reached;
- a MySQL or MariaDB binary log connection dropped in the middle of a read, which isn't corruption;
- congestion, storage-monitor throttling, staging database resource limits and source table changes.
Insights are suggestions, not a diagnosis. If the hint doesn't solve the problem, send the logs to Stelo Support (see Collecting logs and diagnostics for Stelo Support).
Search older entries¶
The tab reads only the newest part of large logs: up to 16 MB of each agent log file and 5 MB of each service wrapper or Db2 log, and up to 48 MB for all the selected files, newest file first. When that leaves something out, a bar above the grid says "Not all of this log is loaded" and what was left out, and a Message filter searches only the loaded part.
To search the rest, set a Message filter and click Search all history in that bar. It searches every byte of the selected logs, under the severity filter, the Log file filter and the time range, and shows the newest 500 matches. context on a match shows the entries around it.
Log more, or keep logs longer¶
What an agent logs depends on its logLevel: INFO by default from the Add Capture Agent wizard, changed on
the agent's Configuration tab (without the property, WARNING and above). The Launch Agent's level is in its
own sqagent.properties. Log files rotate: by default an agent keeps 40 files of about 1 MB (maxNumLogFiles,
maxLogFileSize). See Configuration properties.
Read the server's logs¶
On the server node, the tab shows the server-wide logs:
- App Logs: the Launch Agent log (
sq_launchern.log), the Launch Agent service wrapper log (wrapper.log), and the SQDR Control Center's wrapper log (Jetty service). - DB2 Logs: shown when the Control Center can find the Db2 diagnostic directory of the local Db2 instance:
db2diag.logand thedb2optstatsevent logs. None by default.
The rest works as on an agent. On Windows the files are under C:\ProgramData\StarQuest\sqdrplus: the Launch Agent
log in conf, each agent's log in conf\agtn, the Jetty wrapper log in jetty\logs. On Docker, see
Manage the Docker container.