Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

pm2 logs log time

pm2 restart all  --log-date-format "YYYY-D-MM HH:mm:ss"
Comment

pm2 logs on same console

pm2 logs --no-daemon
Comment

pm2 logs

pm2 logs <processname>
Comment

pm2 logs

pm2 logs 'YOUR_PROCESS' --lines 1000
Comment

pm2 log manager

pm2 install pm2-logrotate
Comment

PREVIOUS NEXT
Code Example
Shell :: change directory in git bash 
Shell :: list all files in a directory and subdirectory linux 
Shell :: Does Ubuntu use deb or rpm? 
Shell :: dateformat npm 
Shell :: delete lines that contain a pattern in unix 
Shell :: kali linux side menu bar disappeared 
Shell :: unporotected ssh key aws 
Shell :: git add removed files 
Shell :: ssh passphrase stop prompting 
Shell :: number of lines 
Shell :: CMake: unsupported GNU version -- gcc versions later than 8 are not supported 
Shell :: speedtest cli install 
Shell :: squash my last x commits together using git 
Shell :: git push origin current branch 
Shell :: Managing the Nginx Process 
Shell :: git delete last commit in remote 
Shell :: install solana 
Shell :: create a new branch from existing branch in git 
Shell :: wrk install 
Shell :: bash script loop 
Shell :: zsh increment variable 
Shell :: linux sync files between folders 
Shell :: install arch linux 
Shell :: git client 
Shell :: start up vagrant 
Shell :: install ubuntu gui on wsl 
Shell :: electron setup cmd 
Shell :: using virtualenvwrapper to create new virtualenv 
Shell :: install kubernetess on mac 
Shell :: linux remove environment variable 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =