The pm2 daemon restarts the application from time to time. How to check for errors in execution?

the pm2 daemon is found to restart the application several times after it has been executed for a period of time. How can I check which part has gone wrong?

I tried to log error, but didn"t seem to log any errors:

{
  "apps" : [{
    "name"        : "name",
    "script"      : "start.js",
    "err_file"    : "./logs/bowser.log",
    "out_file"    : "./logs/bowser.log"
  }]
}
Mar.21,2021

I found the answer by myself. I started listening watch: true and update log

in the startup file.

in this case, either cancel snooping or exclude log log snooping

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e596f1-4552a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e596f1-4552a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?