Skip to content

Commit

Permalink
Merge pull request #4024 from terraform-providers/r/remove_log_double…
Browse files Browse the repository at this point in the history
…_date

remove extra date from the DEBUG log
  • Loading branch information
tombuildsstuff authored Aug 7, 2019
2 parents c24d25b + 1e42fca commit 842f8a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions azurerm/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,10 @@ func Provider() terraform.ResourceProvider {

func providerConfigure(p *schema.Provider) schema.ConfigureFunc {
return func(d *schema.ResourceData) (interface{}, error) {

// remove date and time stamp from log output as the plugin SDK already adds its own
log.SetFlags(log.Flags() &^ (log.Ldate | log.Ltime))

builder := &authentication.Builder{
SubscriptionID: d.Get("subscription_id").(string),
ClientID: d.Get("client_id").(string),
Expand Down

0 comments on commit 842f8a3

Please sign in to comment.