Question
How do I access my application logs?
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.
×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.
×/home/username/apps/projectname/current/log/unicorn.log
.
G
(yes, it has to be uppercase) to reach the end of the file after running less.
#output the last few lines
tail /home/username/apps/projectname/current/log/unicorn.log
#output the last 40 lines
tail -40 /home/username/apps/projectname/current/log/unicorn.log
#read using less
less /home/username/apps/projectname/current/log/unicorn.log