All guides Inkline

How to tail and filter a log file on Mac

Follow the file while you reproduce the problem, then filter a copy of the captured lines by request ID. Inkline gives you a live file view and separate tools for reviewing the excerpt.

Follow a log as it grows

Open the .log file in Inkline and choose Tools → Log Tools → Follow File. Trigger one request in your test app and watch for its new lines. If the writer rotates the log and new lines stop appearing, check which file the app is writing to and reopen that file. Use Stop Following when you have captured the event.

For a terminal workflow, macOS provides tail -F. Open the manual with man tail for the distinction between following a path and following an open file.

tail -F ./example-app.log

Keep the lines for one request

Here is a small excerpt you can paste into a scratch document. Start with the exact ID so you see both the first symptom and the error.

INFO  request_id=demo-042 starting import
          INFO  healthcheck ok
          WARN  request_id=demo-042 retrying storage read
          ERROR request_id=demo-042 storage timeout

Choose Tools → Log Tools → Filter Lines… and enter request_id=demo-042. Review the matching lines before copying or saving an excerpt. If you need to keep a wider window, work on a copy and use Exclude Lines… to remove repeated messages like healthcheck ok.

Keep the lines needed to explain the failure

Include the timestamp or request ID that joins the warning and error, and keep a few adjacent lines if a stack trace spans several rows. Check the excerpt for tokens, identifiers or private URLs before sharing it. The browser demo has sample logs for trying the filters. File following uses the native app.