Where Can I Find Error Logs

Question:

Where can a developer find Errors and/or Console.outputs from PHP or the Server or any other issues I may have?

Answer:

There's quite a few places where you can access these logs to find your errors, there's:

/var/log/php.log
/var/log/nginx/error.log
/var/log/php7.2-fpm.log
/var/log/frontastic/[customer-project]/dev/frontend.log
/var/log/frontastic/[customer-project]-yarn.log
/var/log/frontastic/replicator.log

You may also have access to the below but they're not there on all VMs:

/var/log/error.log
/var/log/syslog

You can use \debug() as a replacement for var_dump() to dump debug messages from XHR requests to the JavaScript console.

You can also find Console-Outputs in the Browser-Console as well.

You can also access Tideways from your Backstage to check for Traces or Errors as well as Response Times. Just go to the Developer App in Backstage, then click Performance.


‹Back

FAQs

Still need help? Contact Us Contact Us