-
Notifications
You must be signed in to change notification settings - Fork 8
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
Hide debug logs on startup #609
Conversation
Does the PR have any schema changes?Looking good! No breaking changes found. Maintainer note: consult the runbook for dealing with any breaking changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there's a few other providers with issues related to this, e.g. pulumi/pulumi-ise#9 - do we have a bridge issue to link this to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is unclear how a.init()
is called before databricks/init()
, can we add what mechanic makes that work reliably?
I would like to see a followup issue that tracks how we might address this upstream/in the bridge and revert this change.
Users were seeing unhelpful & extremely distracting [DEBUG] logs from `init` time. This commit hides the debug logs between when `init` is called for databricks/terraform-provider-databricks and when `init` is called for github.com/pulumi/pulumi-databricks/provider. Fixes #474
15961ff
to
593ca4b
Compare
This PR has been shipped in release v1.51.0. |
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650 --- When a provider exists ungracefully, we dump *all* unstructured logs to the user. This allows providers to output stack traces to users (so they can report them) when a provider fails. We do not search for `panic` messages to isolate the stack trace, since we cannot do that effectively in a cross-language way.
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650 --- When a provider exists ungracefully, we dump *all* unstructured logs to the user. This allows providers to output stack traces to users (so they can report them) when a provider fails. We do not search for `panic` messages to isolate the stack trace, since we cannot do that effectively in a cross-language way.
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650 --- When a provider exists ungracefully, we dump *all* unstructured logs to the user. This allows providers to output stack traces to users (so they can report them) when a provider fails. We do not search for `panic` messages to isolate the stack trace, since we cannot do that effectively in a cross-language way.
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650 --- When a provider exists ungracefully, we dump *all* unstructured logs to the user. This allows providers to output stack traces to users (so they can report them) when a provider fails. We do not search for `panic` messages to isolate the stack trace, since we cannot do that effectively in a cross-language way.
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650 --- When a provider exists ungracefully, we dump *all* unstructured logs to the user. This allows providers to output stack traces to users (so they can report them) when a provider fails. We do not search for `panic` messages to isolate the stack trace, since we cannot do that effectively in a cross-language way.
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650 --- When a provider exists ungracefully, we dump *all* unstructured logs to the user. This allows providers to output stack traces to users (so they can report them) when a provider fails. We do not search for `panic` messages to isolate the stack trace, since we cannot do that effectively in a cross-language way.
This commit changes the log level from plugin stdout&stderr to debug, from info. This change is significant because info is shown by default to users, but debug is not. While this is a change of plugin aesthetics, it does not effect any runtime behavior. All plugins, both component providers and custom resource providers, are effected. > [!IMPORTANT] > This is a breaking change, in that information which used to be displayed to users will > now be hidden by default. > > We will need to share this change with our users before rolling it out. The providers team has met and believe that this is the best approach for our ecosystem. For a full discussion on why this change is necessary, see [this doc](https://docs.google.com/document/d/1yYrwTwsNoayaIzKyG1l5cl0MjJxiHLsH4NqAvZkQN-I/edit?tab=t.0#heading=h.34v61lg1x4kl). Fixes pulumi/pulumi-terraform-bridge#2489 Fixes pulumi/pulumi-cloudngfwaws#23 Fixes pulumi/pulumi-ise#9 Taking this change will allow us to revert: - pulumi/pulumi-databricks#609 - pulumi/pulumi-aws#4650 --- When a provider exists ungracefully, we dump *all* unstructured logs to the user. This allows providers to output stack traces to users (so they can report them) when a provider fails. We do not search for `panic` messages to isolate the stack trace, since we cannot do that effectively in a cross-language way.
Users were seeing unhelpful & extremely distracting [DEBUG] logs from
init
time. This commit hides the debug logs between wheninit
is called for databricks/terraform-provider-databricks and wheninit
is called for github.com/pulumi/pulumi-databricks/provider.Fixes #474