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

PREVIOUS NEXT
Code Example
Shell :: bash not equal 
Shell :: powershell convert to json 
Shell :: github desktop arch linux 
Shell :: bash remove trailing whitespace from every line 
Shell :: grep last word in line 
Shell :: sh script options 
Shell :: delete command in linux 
Shell :: vue-cli-service not found linux 
Shell :: install windows without usb or dvd 
Shell :: raspberry clear cache 
Shell :: The application could not be installed: INSTALL_FAILED_CONFLICTING_PROVIDER 
Shell :: how to open a file using terminal and exit terminal 
Shell :: how to get environment variables in powershell 
Shell :: git stash save 
Shell :: git add alias 
Shell :: powershell t admin 
Shell :: bash script comment 
Shell :: git overwrite remote files 
Shell :: List all installed programs or desktop application 
Shell :: remove folder from gitlab main branch repository 
Shell :: install php freebsd 
Shell :: cant-push-to-github-because-of-large-file-which-i-already-deleted 
Shell :: macos netcat start listening 
Shell :: create new file in terminal 
Shell :: installing node in ubuntu 
Shell :: rails add gem to gemfile 
Shell :: check port running 
Shell :: homebrew without sudo 
Shell :: npm install latest available packages 
Shell :: find number of files in a directory linux 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =