How to check the logs

There are two ways to check the logs of your jobs that run within pipelines:

  1. Login to the EC2 instance: Username is “ec2-user”

When you’re logged in, it should look similar to:

The command to run is:

sudo tail -f /var/log/tomcat/catalina.out

The output will look like the following when there are no pipelines to run:

When you’re finished inspecting the logs, type “Ctrl” and “C” to get out of the tail command. Then type “exit” and enter:

2. CloudWatch Console in AWS:

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/install-CloudWatch-Agent-on-EC2-Instance.html

Leave a Comment