REST API - logs
Configure and interpret Command Centre REST API request logging.
Command Centre can log REST activity through registry keys on the server. The main log is C:\ProgramData\Gallagher\Command Centre\Command_centre.log (with trace enabled).
The registry keys live under HKLM\SOFTWARE\Gallagher\Command Centre (on 64-bit, HKLM\SOFTWARE\WOW6432Node\Gallagher\Command Centre). For vEL8.00 and earlier, use HKLM\SOFTWARE\Cardax\Command Centre FT.
LogRESTRequests
0 (if missing); 1 (set by the 8.90 installer if missing)
vEL8.90+ (and a special 8.70 branch): all public-API calls are written to RESTAccess.log in the same directory as the main log. Obsoletes LogRESTSourceIP (but does not log the client certificate CN). Each line is strict JSON. You may add to it (keep it small); do not change what is there.
LogRESTSourceIP
—
vEL8.60 MR3+, 8.70 MR2+, 8.80: logs the source IPs of REST callers into the Command Centre log (plus the remote client certificate CN, if used). Removed in 8.90 (obsoleted by LogRESTRequests).
LogRESTURLMaxLength
200 (default and if missing; set by the 9.00 installer); 0 omits all URLs; 8192 is the maximum
vEL9.00: limits the URL length recorded in the REST access logs.
🔗 Related
REST API - Connection. The alarms these logs support.
Last updated
Was this helpful?
