Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

see pm2 logs

# Display all apps logs in realtime
pm2 logs

# Display only `app_name` application logs
pm2 logs app_name

# Display new logs in json
pm2 logs --json

# Display 1000 lines of `app_name` log file
pm2 logs app_name --lines 1000
Source by pm2.keymetrics.io #
 
PREVIOUS NEXT
Tagged: #logs
ADD COMMENT
Topic
Name
1+2 =