Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Enable debug logging #230

@neowulf

Description

@neowulf

Currently, there's verbose logging which is good. But when developing, we would like to see debug level logging which would help us to understand the following errors:

  1. In the following case, it would be nice to know the pattern is getting matched.
 $ ecs-cli scale product-service --size 2 --capability-iam 

ERRO[0000] Error executing 'scale': CloudFormation stack not found for cluster 'refarch-v3'
  1. In the following case, a more descriptive error would be nice. In case this error is provided from Cloudformation - where can we get additional information? Perhaps a http link / pointer to the console to assist in further debugging the issue?
$ ecs-cli scale productservice --size 1 --capability-iam CAPABILITY_NAMED_IAM
ERRO[0000] Error executing 'scale': ValidationError: Invalid input for parameter key VpcAvailabilityZones. Cannot specify usePreviousValue as true for a parameter key not in the previous template
        status code: 400, request id: d6acd489-1e7f-11e7-af9e-a9c12ffff71f

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions