Skip to content

DevOps: VAEC handy tools for debugging Application Errors "We're Sorry..." page

elisa lee edited this page May 17, 2021 · 2 revisions

In Jenkins "Task" project

"tail"ing log files to see errors

ssh ec2-user@<server environment variable> "tail -100 <path to log file>"

ex:

ssh ec2-user@$DEV_SERVER "tail -100 diffusion-marketplace/logs/production.log"

when ran, this will output the last 100 lines of the log file

to catch an error, but sure to build this real quick after hitting the error so it doesn't get lost from the last 100 lines

Clone this wiki locally