We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tail
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