Accessing My Error Logs

April 18, 2017 25.1k views
PHP LAMP Stack Ubuntu 16.04

My code works fine in my local environment but when i push to DO. It doesn’t. How do i access my error logs in ubuntu 16

1 Answer

@iamkarsoft

The majority of your log files are going to be located within /var/log.

For example, Apache error logs would be /var/log/apache2/error.log. Others will be within the log directory unless you’ve configured custom log locations.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!