Where can I find error logs

Question:

Where can a developer find errors and/or console.outputs from PHP, the server, or any other issues I may have?

Answer:

There are 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 Frontastic Machines.

/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 the Frontastic Editor to check for traces or errors, as well as response times. Just go to the Developer area in the Frontastic Editor, then click Performance.


‹Back

FAQs

Still need help? Contact us Contact us