Skip to content

task: log experience & verbosity #481

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

Closed
5 tasks done
casperdcl opened this issue Apr 1, 2022 · 6 comments · Fixed by #483
Closed
5 tasks done

task: log experience & verbosity #481

casperdcl opened this issue Apr 1, 2022 · 6 comments · Fixed by #483
Assignees
Labels
logs resource-task iterative_task TF resource ui/ux User interface/experience

Comments

@casperdcl
Copy link
Contributor

casperdcl commented Apr 1, 2022

TF_LOG_PROVIDER=INFO terraform {apply,refresh,destroy}

  • What is the cruft at the top? Won't fix: Logrus logs #423 (review)
    • mTLS stuff
    • [WARN] Truncating attribute path of 0 diagnostics for TypeSet:
  • @0x2b3bfa0 Log “experience” changes #483
    • can we get rid of the unicode characters? Does not render well on default Ubuntu terminal image
    • Doesn't indicate how many steps
      • s#Reading DefaultVPC...#Checking status [1/10] DefaultVPC#
      • s#Creating KeyPair...#Creating [6/9] KeyPair#
    • Done! - what is done? There's a brief pause after this message so clearly not everything is "done"
2022-04-01T15:47:23.371+0100 [INFO]  provider: configuring client automatic mTLS
2022-04-01T15:47:23.467+0100 [INFO]  provider.terraform-provider-iterative: configuring server automatic mTLS: timestamp=2022-04-01T15:47:23.467+0100
2022-04-01T15:47:23.544+0100 [INFO]  provider: configuring client automatic mTLS
2022-04-01T15:47:23.648+0100 [INFO]  provider.terraform-provider-iterative: configuring server automatic mTLS: timestamp=2022-04-01T15:47:23.647+0100
2022-04-01T15:47:23.713+0100 [INFO]  provider.terraform-provider-iterative: 2022/04/01 15:47:23 [WARN] Truncating attribute path of 0 diagnostics for TypeSet: timestamp=2022-04-01T15:47:23.713+0100
2022-04-01T15:47:23.720+0100 [INFO]  provider: configuring client automatic mTLS
2022-04-01T15:47:23.810+0100 [INFO]  provider.terraform-provider-iterative: configuring server automatic mTLS: timestamp=2022-04-01T15:47:23.809+0100
iterative_task.cask: Refreshing state... [id=tpi-24l72zv7lgna7-5knn2kw7-2q66guxt]
TPI [INFO] Reading DefaultVPC...
TPI [INFO] Reading DefaultVPCSubnet...
TPI [INFO] Reading Image...
TPI [INFO] Reading Bucket...
TPI [INFO] Reading Credentials...
TPI [INFO] Reading SecurityGroup...
TPI [INFO] Reading KeyPair...
TPI [INFO] Reading Credentials...
TPI [INFO] Reading LaunchTemplate...
TPI [INFO] Reading AutoScalingGroup...
2022-04-01T15:47:55.780+0100 [INFO]  provider.terraform-provider-iterative: 2022/04/01 15:47:55 [DEBUG] AutoScaling Group State: running: timestamp=2022-04-01T15:47:55.780+0100
TPI [INFO] Done!
TPI [INFO] Reading DefaultVPC...
TPI [INFO] Reading DefaultVPCSubnet...
TPI [INFO] Reading Image...
TPI [INFO] Reading Bucket...
TPI [INFO] Reading Credentials...
TPI [INFO] Reading SecurityGroup...
TPI [INFO] Reading KeyPair...
TPI [INFO] Reading Credentials...
TPI [INFO] Reading LaunchTemplate...
TPI [INFO] Reading AutoScalingGroup...
2022-04-01T15:48:11.872+0100 [INFO]  provider.terraform-provider-iterative: 2022/04/01 15:48:11 [DEBUG] AutoScaling Group State: running: timestamp=2022-04-01T15:48:11.872+0100
TPI [INFO] Done!
TPI [INFO] Reading DefaultVPC...
TPI [INFO] Reading DefaultVPCSubnet...
TPI [INFO] Reading Image...
TPI [INFO] Reading Bucket...
TPI [INFO] Reading Credentials...
TPI [INFO] Reading SecurityGroup...
TPI [INFO] Reading KeyPair...
TPI [INFO] Reading Credentials...
TPI [INFO] Reading LaunchTemplate...
TPI [INFO] Reading AutoScalingGroup...
2022-04-01T15:48:24.994+0100 [INFO]  provider.terraform-provider-iterative: 2022/04/01 15:48:24 [DEBUG] AutoScaling Group State: running: timestamp=2022-04-01T15:48:24.994+0100
TPI [INFO] Done!
TPI [INFO] aws m in us-west
TPI [INFO] LOG 0 >> -- Logs begin at Fri 2022-04-01 14:35:09 UTC, end at Fri 2022-04-01 14:48:17 UTC. --
TPI [INFO] LOG 0 >> Apr 01 14:35:42 ip-172-31-29-139 systemd[1]: Started tpi-task.service.
TPI [INFO] Status: running 🟡
2022-04-01T15:48:26.708+0100 [INFO]  provider.terraform-provider-iterative: 2022/04/01 15:48:26 [WARN] Truncating attribute path of 0 diagnostics for TypeSet: timestamp=2022-04-01T15:48:26.708+0100
@casperdcl casperdcl added logs ui/ux User interface/experience resource-task iterative_task TF resource labels Apr 1, 2022
@casperdcl casperdcl changed the title log verbosity task: log experience & verbosity Apr 1, 2022
@0x2b3bfa0

This comment was marked as outdated.

@0x2b3bfa0

This comment was marked as outdated.

@0x2b3bfa0

This comment was marked as outdated.

@0x2b3bfa0

This comment was marked as outdated.

@0x2b3bfa0

This comment was marked as outdated.

@0x2b3bfa0
Copy link
Member

Closing in favor of #487

@0x2b3bfa0 0x2b3bfa0 self-assigned this Apr 2, 2022
@0x2b3bfa0 0x2b3bfa0 linked a pull request Apr 2, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
logs resource-task iterative_task TF resource ui/ux User interface/experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants