Read the latest error logs
Find the real error hidden in hundreds of log lines.
The prompt
Read the last 200 lines of /var/log/nginx/error.log, group the errors by type, and tell me the most likely cause of the most frequent one.
What the AI will do
- Reads the last 200 lines of the log file.
- Groups the errors by type.
- Tells you the most likely cause of the most frequent error. Nothing is changed.
On Windows, Mac and Linux
Linux: path as written; reading /var/log may need sudo. Mac (Homebrew nginx): /opt/homebrew/var/log/nginx/error.log or /usr/local/var/log/nginx/error.log. Windows: logs\error.log inside your nginx folder.
How to use it
- Make sure Shellway is connected in ChatGPT, Claude or Cursor.
- Paste the prompt and change the folder names or paths to match your computer.
- Review the plan your AI shows before you confirm any changes.
Example reply
An illustration of a typical answer. Your AI will show the real files, names and numbers from your computer.
Last 200 lines of /var/log/nginx/error.log: upstream timed out 121 connect() refused 52 client body too large 27 Most frequent: upstream timed out to 127.0.0.1:3000. The app takes over 60 s on /export; raise proxy_read_timeout for that path or make the export a background job.
Tips
- Change the log path to match your app.
Good to know
Your AI shows its plan before it changes anything, and your rules on the computer still apply: read-only mode, allowed folders and blocked commands, with a backup before each file edit (safety rules). Works in ChatGPT, Claude, Claude Code and Cursor; the free plan gives 50 actions a day (pricing).