Accessing My Error Logs

April 18, 2017 567 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
jtittle1 April 18, 2017
Accepted 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.