Daemon Logs
The daemon (runtimed) logs to a file that persists across sessions.
Log File Location
- macOS
- Linux
- Dev Mode
Viewing Logs
Enabling Verbose Logging
For more detailed output, restart the daemon with debug logging:For persistent verbose logging, you can modify the launch agent/service configuration.
Frontend Logs
The notebook app logs to the browser console.Opening Developer Tools
Access the browser console:- macOS: Cmd+Option+I
- Windows/Linux: Ctrl+Shift+I
- Menu: View > Developer > Developer Tools
Enabling Debug Mode
By default, routine operations are not logged in production. To enable verbose logging:Disabling Debug Mode
Log Prefixes
Logs are prefixed by component for easy filtering:| Prefix | Component |
|---|---|
[daemon-kernel] | Kernel communication |
[notebook-sync] | Document sync |
[manifest-resolver] | Output blob resolution |
[App] | Main app lifecycle |
Troubleshooting
Kernel Not Starting
Check daemon logs for errors:- Environment not found (check pool status with
runt daemon status) - Python/Deno executable not available
- Port conflicts
- Permission issues
Outputs Not Displaying
Common issues:
- Blob store corruption (try restarting daemon)
- MIME type not supported
- Widget rendering errors (check widget compatibility)
Environment Issues
Check daemon logs for UV/Conda errors:- Package installation failures
- Incompatible package versions
- Network issues downloading packages
- Disk space issues
Sync Issues
If changes aren’t syncing between windows: Common issues:- Different notebook IDs for same file
- Daemon not running
- Automerge document corruption
Log Levels
TheRUST_LOG environment variable supports these levels:
| Level | Description |
|---|---|
error | Only errors |
warn | Errors and warnings |
info | Normal operations (default) |
debug | Detailed debugging info |
trace | Very verbose (all operations) |
Module-Specific Logging
You can enable debug logging for specific modules:Common Debug Workflows
Debugging Kernel Issues
Debugging Environment Detection
Debugging Widget Issues
Performance Profiling
Frontend Performance
Use browser DevTools Performance tab:- Open DevTools (Cmd+Option+I)
- Go to Performance tab
- Click Record
- Perform the slow operation
- Stop recording and analyze
Backend Performance
Enable trace-level logging for detailed timing:Reporting Issues
When reporting issues, include:- Daemon logs: Last 100 lines from
runt daemon logs -n 100 - Daemon status: Output from
runt daemon status - Frontend console: Screenshot or copy of browser console errors
- Steps to reproduce: Clear steps to trigger the issue
- Environment: OS, nteract version, Python/Deno version