Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Timestamp in terraform console output during runs #9810

Open
dfairhurst opened this issue Nov 2, 2016 · 7 comments
Open
Labels
enhancement UX User experience enhancements

Comments

@dfairhurst
Copy link

Hi there,

Would it be possible to add a timestamp to the logs of terraform (not just debug logs, but also in the normal output).
It would help a lot with debugging when we have failures due to issues with dependencies between resources, by enabling us to see the timestamp for each creation/deletion etc.

Best regards,
Dan

@stack72 stack72 added enhancement build Auto-pinning labels Nov 2, 2016
@Freyert
Copy link

Freyert commented Apr 17, 2018

@pkolyvas pkolyvas removed the build Auto-pinning label Apr 10, 2020
@pkolyvas pkolyvas changed the title Feature request: Timestamp in terraform log Feature request: Timestamp in terraform console output during runs Apr 10, 2020
@pkolyvas pkolyvas added the UX User experience enhancements label Apr 10, 2020
@ellisroll-b
Copy link

ellisroll-b commented Aug 12, 2021

Entered in 2016, and still no action? We too need prefixed timestamps, as we have run into networking issues between the terraform client and the IaaS provider, and having consistent identification of incidents, as with all our other tools is needed.

This is not just UX, this is for proper devops practice

@datfinesoul
Copy link

It would at least be nice to get some official response from Hashicorp on this. It really would be a valuable feature, given how many operations with popular providers such as AWS, often have a multitude of waiting operations tied to it.

@stirlingalgermissen
Copy link

+1, this would be extremely useful for long duration deployments

@f5-alex-zaets
Copy link

f5-alex-zaets commented Jul 8, 2022

Bump it! It would be good to have.

@ahmedwonolo
Copy link

Can someone from @teamterraform comment on this?

@crw
Copy link
Collaborator

crw commented Aug 12, 2022

Thanks for the interest in this issue! This is unlikely to be addressed in Terraform in the foreseeable future. You might try the workflow of using tc as described in #9810 (comment), and many CI tools prepend timestamps in their own log output for this reason.

I will leave this issue open to track the request. Thanks for your feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement UX User experience enhancements
Projects
None yet
Development

No branches or pull requests

10 participants