Skip to content

Logging unavailable at runtime unless logging tag passed to compile #187

Description

@jamestelfer

If you create a new project using the Go template, no logging will be received unless the project is compiled with the logging tag.

This can be done by changing the makebuild file to include the tag, or running make with the TAGS environment variable defined:

TAGS=logging make

How can this be made more obvious?

Suggestions:

  • add a comment in the generated makebuild file to note the values accepted by TAGS and the effect
  • add a comment in the generated resource.go describing how logging can be enabled
  • add documentation on the README

I found out the way to enable logging via a hint in aws-cloudformation/cloudformation-cli#391; this could be made more discoverable for others.

Metadata

Metadata

Assignees

Labels

ResearchingResearchingbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions