Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.41 KB

File metadata and controls

38 lines (30 loc) · 1.41 KB

Logging

Logging is handled by CloudWatch in the DSIT AWS, you will need a digital-paas-production-account, see hosting documentation for instructions for obtaining this.

Once you have access you can find the logs by following these steps:

  • sign in to AWS with your digital-paas-production-account account
  • assume the role for the appropriate environment, see hosting documentation
  • Locate Elastic Container Service (ECS) in the services menu
  • Click on the cluster
  • Click on the service
  • Switch to the Logs tab
  • Refine the view of the logs

You can then switch to CloudWatch if desired:

  • Click the View in CloudWatch drop down
  • Select the container
  • Refine the view of the logs

Via CloudWatch

You can access the container logs directly via CloudWatch, with some additional steps:

  • sign in to AWS with your digital-paas-production-account account
  • assume the role for the appropriate environment, see hosting documentation
  • Locate CloudWatch in the services menu
  • From the side bar open Logs and click on Log groups
  • Locate either the application or worker container for that matches the environment, e.g. /ecs/ODA-prod and /ecs/ODA-prod-SideCar for production
  • Click on the container
  • The logs are split into 'streams' choose a steam or click Search all log steams and refine