Report this

What is the reason for this report?

Accessing My Error Logs

Posted on April 18, 2017

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



This textbox defaults to using Markdown to format your answer.

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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.