How does the php environment do an error_log report? Can I monitor it on the remote phone?

would you like to discuss how to set up a reporting mechanism in the php environment?
means to be able to see

on the remote machine when there are any errors.
1|x-s | Error: MANAGER_ID_NOT_STRING
1|x-s |     at validateRequestManagerId (/root/u-server/x/d-g/y-id.js:13:17)
The message of

and so on
how does this end?


find error.log, and then tail-f error.log is open.

in addition, you can add

to the header of the file.
  predefined constant . 

Menu