Log Viewer
The Log Viewer lets you review Ren’Py traceback logs generated when a game encounters an error or crash.
How Logs Are Captured
Section titled “How Logs Are Captured”When a Ren’Py game crashes or encounters a Python error during gameplay, the engine writes a traceback.txt file to the game’s directory. When the game shuts down, Spark automatically:
- Detects the
traceback.txtfile - Appends Spark system information (iOS version, Spark version, engine version, game settings, and device configuration)
- Renames the file with a timestamp (e.g.
traceback_20260311_143022.txt) - Moves it to a
logs/folder inside the game directory
Each crash generates a separate log file, so you can review the history of errors for a game.
Accessing the Log Viewer
Section titled “Accessing the Log Viewer”The Log Viewer is accessible from the Game Detail screen. A green Logs button appears when a game has one or more traceback logs available.
If a traceback is detected immediately after a game exits, Spark will alert you that a log file is available for review with an option to view it right away.
What Logs Show
Section titled “What Logs Show”Logs contain Ren’Py tracebacks — Python error messages and stack traces that describe what went wrong during game execution. Each log also includes Spark system information appended at the end:
- Ren’Py engine version used
- iOS version and Spark version/build number
- Complete app and game settings configuration
- Translation settings (if enabled)
- Device variant overrides (if set)
Log Browser
Section titled “Log Browser”The log browser displays all saved traceback files for the selected game, sorted by newest first. Each entry shows the filename and creation date. Tap a log to view its full contents.
Sharing Logs
Section titled “Sharing Logs”When viewing a log, you can share it with the support team:
- Share button — Opens the iOS share sheet to export the traceback via any app (email, cloud storage, messaging, etc.)
- Email to Support — Sends the log directly to the Spark support email with the traceback file attached
Deleting Logs
Section titled “Deleting Logs”You can delete all logs for a game from the log browser menu. This removes the entire logs/ folder for that game.
Using Logs for Troubleshooting
Section titled “Using Logs for Troubleshooting”When reporting issues to the support team:
- Reproduce the problem by launching the game
- After the crash, open the Log Viewer from the Game Detail screen
- Share the most recent traceback log on Discord or via email
The traceback and appended system information give the support team the details needed to diagnose the issue.
Common Traceback Messages
Section titled “Common Traceback Messages”| Message | Meaning |
|---|---|
SystemExit | Game closed normally or via Spark |
ImportError | Missing Python module — may need a different engine version |
IOError / FileNotFoundError | Missing game asset or file |
MemoryError | Device running low on memory — see Jetsam |
pickle errors | Save file incompatibility — see Save Issues |