View PM2 Process Logs

Stream logs from a PM2-managed process.

Streams combined stdout and stderr logs from all PM2-managed processes, or a specific process by name/id. PM2 rotates logs automatically to prevent unbounded growth.

When you need this: When debugging a Node.js application crash or unexpected behavior in production.

Variables

Command


        
10 views 0 copies
Log in to rate
Log in to save

Free account. Save snippets into your own collections.