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

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 remote repository git 
Shell :: connect git to github 
Shell :: git find files with conflicts, list files with conflict 
Shell :: copy ssh key to remote server 
Shell :: git revert file to master 
Shell :: find port and kill 
Shell :: linux show copy progress 
Shell :: git clone from specific branch 
Shell :: delete ip by ufw 
Shell :: install atom ubuntu 18 
Shell :: bobrossquotes terminal 
Shell :: install gogh 
Shell :: inodes full 100% 
Shell :: install Scout in ubuntu 
Shell :: How to download Net Beans onto linux ubuntu 
Shell :: docker compose install manjaro 
Shell :: rust install 
Shell :: how to download openssh with cmd 
Shell :: Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. 
Shell :: flutter doctor --android-licenses java error 
Shell :: cpanel softacoulous free 
Shell :: linux save http content to file 
Shell :: Error: That port is already in use. 
Shell :: git clone iin colab using the private repo 
Shell :: network manager restart ubuntu 
Shell :: How do I get my drive letters back? 
Shell :: zsh mac 
Shell :: how to find where a program is on windows 
Shell :: how to setup git locally with ssh 
Shell :: how to make a githook file executable 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =