Files, services, and logs
Where the scanner lives on each platform, what the services are called, and where to find logs.
File locations
| macOS | Linux | Windows | |
|---|---|---|---|
| Binary | /opt/surface/bin/surface |
/usr/bin/surface |
%ProgramData%\Surface\bin\surface.exe |
| Data | /var/lib/surface |
/var/lib/surface |
%ProgramData%\Surface |
| Credentials | /var/lib/surface/credentials.json |
/var/lib/surface/credentials.json |
%ProgramData%\Surface\credentials.json |
| MDM setting | /Library/Managed Preferences/com.superalign.surface.plist |
/etc/surface/managed.conf |
HKLM\SOFTWARE\Policies\Superalign\Surface |
| Logs | /var/lib/surface/logs/ |
/var/lib/surface/logs/ |
%ProgramData%\Surface\logs\ |
| Install log | /var/log/surface-install.log |
/var/log/surface-install.log |
%ProgramData%\Surface\install.log |
Credentials are readable only by the system account. The server keeps only a hash of the endpoint’s secret.
Services
| Platform | Scanner | Tray |
|---|---|---|
| macOS | LaunchDaemon com.superalign.surface |
LaunchAgent com.superalign.surface.tray |
| Linux | systemd surface.service |
Autostart surface-tray.desktop |
| Windows | Service SurfaceScanner |
Scheduled task SurfaceTray |
Check the service:
sudo launchctl print system/com.superalign.surfacesystemctl status surface.serviceGet-Service SurfaceScannerLogs
sudo surface logs reads the main log for you. The files:
| File | Contents |
|---|---|
surface.log |
The scanner. Capped at 200 MB or 30 days |
surface.error.log |
Crashes and output from the service manager |
tray.log |
The tray indicator |
extensions/<slug>.log |
One file per extension |
update.log |
Self-update |
When you run surface scan --once by hand, output goes to the terminal, not the log file.
The tray
The install puts a menu bar (macOS) or system tray (Windows, Linux) icon on the endpoint, running as the signed-in person. Its menu shows:
- Claude and Codex: the person’s own plan usage for the accounts signed in on this endpoint. Shown here only, never sent to the console
- My Device: opens this endpoint’s own page from the console in the browser
- Troubleshoot: sends recent logs to SuperAlign support, or opens the log folder
- Signed in: email: the signed-in email, or Session expired / Signed out with a prompt to run
surface init - Status:
activewhen connected to the scanner - Surface Scanner: the version, at the bottom
When an action blocks or warns about an asset on this endpoint, the tray shows a system notification titled BLOCKED or WARNING with the asset’s name.
Related
- Troubleshooting for what to check when an endpoint is silent