Skip to content

Audit Log

  • What the desktop client records in the audit log
  • The log format and entry categories
  • How to use the IT dashboard to review activity
  • How to export logs for compliance or troubleshooting

The finwave desktop client maintains an append-only audit log that records every significant action the application takes. This includes file system reads, network requests, authentication events, configuration changes, sync activity, and errors. The log is designed for IT review and compliance — it provides a complete record of what the client did, when, and why.

The audit log is stored at ~/.finwave/logs/audit.log and is rotated daily. Previous days’ logs are preserved as timestamped files in the same directory.

Each audit log entry contains the following fields:

FieldDescription
timestampUTC timestamp of the event (ISO 8601 format)
categoryThe event category (see table below)
actionA short description of what happened (e.g., file_read, upload_start, auth_refresh)
detailAdditional context such as file path, endpoint URL, or error message
scopeThe directory or resource scope the action applies to
bytesNumber of bytes transferred, if applicable
userThe authenticated finwave user account

Events are grouped into six categories:

CategoryWhat it covers
filesystemFile reads, directory listings, and training data writes to ~/.finwave/
networkHTTP requests to the finwave API (method, endpoint, response code, bytes transferred)
authLogin, logout, token refresh, and authentication failures
configChanges to sync settings, watched directories, or other configuration
syncEncounter detection, staging, confirmation, and upload events
errorApplication errors, failed retries, and unhandled exceptions

The desktop client includes a built-in IT dashboard that provides a visual summary of audit log data. You find it under Settings > IT Dashboard.

The dashboard has three sections:

A table showing every Tauri capability the client has, what it permits, and the current filesystem scope (which directories the client can access). This is the same information described in the Security Model, presented in a compact, auditable format.

A breakdown of the last 24 hours of audit log activity, grouped by category. This gives you a quick answer to “what has this client been doing?” without reading raw log lines. Typical entries include:

  • Number of files read
  • Number of network requests sent
  • Number of encounters synced
  • Number of errors

A filtered view showing only network category entries. Each row shows the HTTP method, endpoint path, response status code, and bytes transferred. Request and response bodies are never logged.

You can export audit log data from the IT dashboard in two formats:

  • CSV — For spreadsheet analysis or import into reporting tools
  • JSON — For programmatic analysis or ingestion into log management systems (SIEM, Splunk, ELK)

The export includes all entries for the selected date range. You can filter by category before exporting if you only need a subset of events.

Audit logs rotate daily at midnight UTC. The current day’s log is always at ~/.finwave/logs/audit.log. Previous days are stored as ~/.finwave/logs/audit-YYYY-MM-DD.log. The client does not automatically delete old log files — they accumulate until you or your organization’s log management policy removes them.