Skip to content

Logging

Capture outbound LLM requests to help debug provider configuration issues.

Enable logging

  1. Open ChatWise and press Cmd + , (or choose Settings from the menu).
  2. Navigate to Settings > Advanced > Logging.
  3. Flip the toggle to Enabled. The preference applies to every ChatWise window on that device and persists locally.
  4. Click Open Logs Folder to reveal the directory that contains the log file.

IMPORTANT

Logging is off by default because sensitive data such as API keys, request headers, and payloads are written to disk. Remove sensitive data from logs before sharing them with others.

What gets recorded

  • Every outgoing LLM HTTP request initiated by ChatWise.
  • ISO 8601 timestamps and request metadata in the form [2025-04-30T12:34:56.789Z] [LLM] METHOD URL { headers, body }.
  • Headers (including Authorization, x-goog-api-key, etc.) and the serialized request body.
  • Log entries are written sequentially to avoid interleaving when multiple requests are running.

Responses are not currently logged.

Log file location

Log records are stored in app.log inside the operating-system log directory for the ChatWise bundle identifier app.chatwise:

  • macOS: ~/Library/Logs/app.chatwise/app.log
  • Windows: %LOCALAPPDATA%\app.chatwise\logs\app.log
  • Linux: ~/.local/share/app.chatwise/logs/app.log

ChatWise automatically creates the directory the first time logging runs. Use the Open Logs Folder button if you are unsure where the file lives.

File size management

The log file grows up to 50 MB. When it reaches that limit ChatWise deletes app.log the next time a log entry is written and starts a fresh file. If you want to clear your logs sooner you can delete the file manually while logging is disabled.

Disable logging

Return to Settings > Advanced > Logging and toggle logging off. The preference update is broadcast to all open windows, and new requests stop being recorded immediately.