Read and tail logs on your Mac from your iPhone
The worker crashed overnight, or the dev server stopped answering. The reason is in a log on the Mac — read it from the phone, and keep it scrolling.
There is no special log viewer here, and you do not need one. ShiftStage gives the phone three honest ways to the same text: the terminal, the live output of services the agent runs for you, and the log file itself.
Other ways, and when they are better
- SSH and
tail -f. If you can reach the Mac by SSH, this is the classic and it works. Keep it running withtmuxif your connection drops. - A hosted log service. For production, ship logs to a service built for search, retention and alerts. A laptop is not a log server.
- Console on the Mac. The best view of macOS's unified log at the desk. From
the phone,
log showandlog streamin a terminal reach the same data.
1. Tail it in the terminal
ShiftStage's terminal is a real PTY with your shell, your dotfiles and your tools, so every log command you know works as it is:
tail -f log/development.log
less +F storage/logs/laravel.log
docker logs -f api
log stream --predicate 'process == "MyApp"'
Sessions keep running when the app goes to the background, and you can have several open at once — one following the log, one for commands. A row of Esc, Tab and arrow keys sits above the keyboard. This is the fallback that always works.
2. Let the agent run the service and keep its output
For a dev server, a queue worker or a watcher, define it as a service: name, command line, project folder, restart after a crash, environment. The form is on the phone; the person at the Mac approves it once. Then:
- stdout and stderr stream live to the phone, kept apart — what was an error stays marked as one.
- The last 4 MiB per service are kept in the agent's memory, so you can open the log after the fact; the oldest lines go first when it fills.
- One log across restarts. Stop, start and restart append to the same log, and an open log screen keeps receiving the new run.
- Gaps are shown. If the phone missed lines while it was away, the log says so instead of gluing the pieces together.
- You hear about it when a service dies — the notification names which one — and you can bring it back from the same screen.
The log lives in memory, not on disk: when the agent restarts, managed services do not survive it, and neither does their log.
3. Open the file
A log in a folder you shared opens like any text file: highlighted where the extension
says so, with find, and its text selectable and copyable — paste the stack trace into a
conversation with your AI agent. Files up to 2 MiB open in the text view; a bigger one can
be downloaded to the phone or shared, but for a gigabyte log the terminal is the better
tool. The view does not follow new lines as they are written: for that, use
tail -f.
To find which log mentions an error, use
search with the error text. Content
search skips files over 4 MiB, so for big logs reach for grep in the
terminal.
What leaves the Mac
Only what you look at, end-to-end encrypted between your two devices. Our servers never see a log line. The access log on the Mac records operations — never contents or output.
Set it up once
- Install the agent on the Mac. A signed, notarised app from our open
Homebrew tap. It shares only the folders you name.
brew install --cask shiftstage/shiftstage/shiftstage-agent - Install the app on the iPhone from the App Store.
- Pair them. Scan the code on the Mac's screen and confirm the same symbols on both devices. No account. The first pairing needs both on the same network.
That is the whole setup: no VPN, no port forwarding, no SSH keys. On the same Wi-Fi the phone talks to the Mac directly; away from home the connection goes peer to peer, or through a relay that forwards only end-to-end encrypted bytes. The Mac has to be awake: a sleeping Mac answers nothing, and the app says so instead of timing out.
More on the terminal itself: the Mac terminal from your iPhone.
Get it
The Mac agent: download page — one Homebrew command or a notarised disk image. The iPhone app: App Store. Free forever for one Mac on your own network, no account; $7.99 a month or $69.99 a year to reach it from anywhere.
More guides: all guides.