Server Logs

Server logs for Trellis sites can be found at /srv/www/example.com/logs/:

  • /srv/www/example.com/logs/access.log
  • /srv/www/example.com/logs/error.log

Any server 500 errors or white screen issues should be debugged by viewing the error logs in the /srv/www/example.com/logs/ directory.

Trellis uses the ansible-logrotate role to install and configure logrotate for sites and can be configured by editing group_vars/all/logrotate.yml.

Join over 5,500 subscribers on our newsletter to get the latest Roots updates, along with occasional tips on building better WordPress sites.

Looking for WordPress plugin recommendations, the newest modern WordPress projects, and general web development tips and articles?

“Easily the best WordPress email I get.” Colin OBrien

Ready to checkout?