Skip to content

lynxpm logs

Terminal window
lynxpm logs <id|name|namespace:name> [--lines N] [--follow] [--stdout] [--stderr]

View and follow process log files managed by Lynx. Resolves per‑app stdout/stderr paths and tails their contents.

FlagTypeDefaultDescription
-n, --linesint200Number of lines to show initially.
-f, --followbooleanfalseStream new log lines (tail -f).
-o, --stdoutbooleanautoShow stdout only (if set).
-e, --stderrbooleanautoShow stderr only (if set).
-h, --help--Show help message.

Show last 200 lines of both streams:

Terminal window
lynxpm logs my-api

Follow stdout only:

Terminal window
lynxpm logs default:my-api --stdout --follow

Increase initial lines:

Terminal window
lynxpm logs e73a9f1b --lines 1000
  • Log files are located under a secure per‑app directory. System mode defaults to /var/log/lynx-pm/<id>/; user mode uses the XDG state directory.
  • The command waits for log files to appear when --follow is enabled.