Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tfsdklog: Ensure sink logger options are propagated to SDK and provid…
…er root loggers (#58) Reference: #54 Verified via terraform-provider-corner. Previously: ```console $ TF_ACC=1 TF_LOG=WARN go test -count=1 -run='TestAccFrameworkResourceUser$' -v ./internal/frameworkprovider === RUN TestAccFrameworkResourceUser 2022-05-03T14:42:25.505-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:43.666-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:43.668-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:43.668-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:43.670-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:43.671-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:43.671-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:43.672-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:43.672-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:48.245-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:48.247-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:48.248-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:48.249-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:48.249-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:48.249-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:48.252-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:48.253-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:52.798-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:55.552-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:55.554-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:55.555-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:55.555-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:55.556-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:55.557-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:42:55.558-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:00.146-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:04.701-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:04.703-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:04.703-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:04.704-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:04.705-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:04.705-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:04.706-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:04.707-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:04.707-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:09.252-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:13.803-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:13.805-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:13.806-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:13.807-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:13.808-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:13.808-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:13.809-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:13.810-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:13.811-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:13.811-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:18.382-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:18.385-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:18.385-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:18.387-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:18.387-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:18.387-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:18.388-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:18.389-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:18.390-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:22.938-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:25.649-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:30.199-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:30.200-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:30.200-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:30.203-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:30.203-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:30.205-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:30.206-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:30.206-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:30.206-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options 2022-05-03T14:43:30.207-0400 [WARN] sdk: Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options --- PASS: TestAccFrameworkResourceUser (64.75s) PASS ok github.com/hashicorp/terraform-provider-corner/internal/frameworkprovider 65.006s ``` Now: ```console $ TF_ACC=1 TF_LOG=WARN go test -count=1 -run='TestAccFrameworkResourceUser$' -v ./internal/frameworkprovider === RUN TestAccFrameworkResourceUser --- PASS: TestAccFrameworkResourceUser (64.76s) PASS ok github.com/hashicorp/terraform-provider-corner/internal/frameworkprovider 68.569s ```
- Loading branch information