Roots Discourse

Trellis - Can't locate server logs

I’m doing the first steps on Trellis and while reading the documentation regarding logs, I can’t find on my computer (mac OS) the logs at /srv/www/example.com/logs/

I’ve checked my main.yml and the www_root: /srv/www . Yet I can’t find that folder on my computer.

am I missing something ? Thanks

Have you provisioned your own computer to run a Trellis server?
For development one would either use the Vagrant setup shipped with Trellis or something else like Docker.

1 Like

I didn’t run a Trellis Server. I’m using for development Vagrant that comes with Trellis. So I assume my logs are ~/VirtualBox/example.com/Logs/VBox.log

Thanks

Your logs would be inside your VM, not on your host machine.

1 Like

SSH into your VM as @alwaysblank mentioned:
ssh vagrant from the /trellis directory.

Now navigate to their location: /srv/www/example.com/logs/

3 Likes