Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sinaza's avatar

Laravel Forge - Complete List of Past Deployment Logs

When using the Forge interface, you can always view the Latest Deployment Log. What I'm trying to reach, is the complete list of past deployment logs. Is that possible? The log files' location also works as I have SSH access to the actual server.

0 likes
2 replies
shez1983's avatar
shez1983
Best Answer
Level 23

yes you can.. but you have to SSH in to your server and go to a hidden .forge directory. by default forge keeps the last x deployment logs, not only that it will also keep cron jobs/consoloe logs there as well..

i am not 100% sure where this directory is, from memory it might be in your home so do cd ~/home and then ls -al to view all directories... (if not there it should be on your SITEs folder but the first one sounds like a more distinct possibility)

sinaza's avatar

Awesome @shez1983. Thank you.

For others that come across this question, you have to look for ./forge/provision-* files. For each 'provision' you'll find a .sh and a .output file. As the names suggest, first one includes the commands that were run and the second one includes the output of all those commands.

Cheers

1 like

Please or to participate in this conversation.