Operations

Logs & troubleshooting

Where logs live, what each level means, the small set of errors that account for almost every support ticket we see, and what to attach when you email us so we can help on the first reply.

Log folder: C:\ProgramData\iDentiCalSync\logs\

Where logs live

iDentiCal Sync writes logs to C:\ProgramData\iDentiCalSync\logs\ on the practice server. You'll find:

  • identical-YYYY-MM-DD.log — the daily rolling log. New file each day at local midnight; previous 14 days are kept, older ones are deleted automatically.
  • identical-install.log — first-run installer log. Only useful for diagnosing setup problems.
  • identical-service.log — Windows Service host log. Errors here usually mean the Service itself failed to start, not a sync problem.

The tray app's Open log folder menu item opens this directory directly.

Log levels

Lines are tagged with one of five levels. By default iDentiCal logs at INFO and above.

LevelWhat it means
DEBUGVerbose internal detail. Disabled by default. Switch on only when support asks.
INFONormal operation — sync started, X events written, sync finished.
WARNSomething unusual that iDentiCal recovered from on its own.
ERRORA sync cycle failed. iDentiCal will retry on the next cycle.
FATALThe Service can't continue and has stopped. Rare; always worth investigating immediately.

Anatomy of a log line

2026-05-18 09:14:02.041 INFO  [target=dr-patel] sync cycle complete — wrote 2, updated 4, deleted 0 in 1.83s
2026-05-18 09:14:07.220 WARN  [target=sarah-h] Google returned 429 — backing off 60s
2026-05-18 09:15:07.103 INFO  [target=sarah-h] sync cycle complete — wrote 0, updated 1, deleted 0 in 0.91s

Every line has a UTC-offset local timestamp, a level, a [target=...] tag (or [global] for Service-wide events), and a human-readable message. Patient identifiers are never written to logs even when title formats include them — only counts and target IDs.

Common errors

MySQL: HY000 2059 "Authentication plugin 'mysql_native_password' cannot be loaded"

The connector failed to load a native auth DLL. This is almost always a fresh Windows install where iDentiCal's MySQL connector hasn't been forced into pure-Python mode. Fix: latest installer corrects this on upgrade; if you're stuck on an older build, contact support for the patch.

MySQL: 1045 "Access denied for user 'identical'@'localhost'"

The MySQL user iDentiCal is configured to use either doesn't exist, has the wrong password, or doesn't have SELECT on the OpenDental database. Recheck the grants from the setup guide.

Google: invalid_grant — Token has been expired or revoked

The OAuth refresh token for that target was revoked. Usually because someone visited Google Account → Security → Third-party apps and removed iDentiCal. The fix is to re-authorise the target: Settings → Sync targets → [target] → Re-authorise. Existing events are not duplicated; iDentiCal tags them with a target ID that survives re-auth.

Google: 403 — Rate limit exceeded

Google Calendar API has per-user and per-project quotas. iDentiCal backs off and retries automatically. If you see this repeatedly (more than a handful of times a day), it usually means another tool on the same Google account is also writing aggressively. Look for a competing calendar sync or a CRM integration.

Network: connection timed out — googleapis.com

The practice's outbound HTTPS to Google is being blocked. Most common cause: a firewall or content-filter appliance was added by the practice's IT, and *.googleapis.com is not on the allow-list. iDentiCal needs www.googleapis.com on port 443.

What to send support

When you email support@identicalsync.com, attach:

  1. The current day's log: identical-YYYY-MM-DD.log.
  2. The previous day's log if the problem started yesterday.
  3. A one-line description of what the calendar is doing that you didn't expect, and when you first noticed.
  4. The licence key from About in the tray menu — used to find your installation in our records, not for verification of identity.

You don't need to redact the logs before sending them. They don't contain patient identifiers, even when title formats include names; that's a deliberate design choice.

What not to send: the OpenDental database itself, screenshots of patient records, or any file from C:\ProgramData\iDentiCalSync\config\. The config files contain encrypted OAuth tokens — useless to us, but a needless data-protection footprint if sent.

Logs and patient data

iDentiCal logs intentionally exclude patient identifiers. The most you'll ever see for a patient is an internal target ID and an event ID. This is to make logs safe to email to support, safe to send to an IT contractor, and safe to keep on the practice server alongside other logs.

One exception: if the Service throws an unhandled exception during a sync of a specific appointment, the stack trace may include the OpenDental AptNum (an integer). This is a row identifier, not a patient identifier, and is useful to support when correlating with the practice's own OpenDental record.

Local status endpoint

The Service exposes a small HTTP status endpoint on localhost only, port 17324. The tray app uses it, and you can poll it from a monitoring system on the same machine:

GET http://127.0.0.1:17324/health

Response:
{
  "service": "ok",
  "last_sync_utc": "2026-05-20T13:09:02Z",
  "targets": [
    { "id": "dr-patel",  "state": "idle",  "last_ok": "..." },
    { "id": "sarah-h",   "state": "idle",  "last_ok": "..." }
  ]
}

The endpoint is bound to 127.0.0.1 only and is not reachable from other machines on the LAN. If you need to monitor it from a different machine, do that through Windows tooling (e.g. a Group Policy script that polls and forwards) rather than by exposing the port.

Most support tickets are resolved on first reply when the daily log is attached. Sending us a screenshot of the tray icon without the log adds a round trip.