-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
azurerm_app_service_slot
- support application_logs.file_system
#7311
azurerm_app_service_slot
- support application_logs.file_system
#7311
Conversation
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.
Thanks for the pr @sschmeck - in addition to updating the docs maybe this would make more sense as file_system_level rather then a block for better ux and reduced complexity?
file_system { | ||
level = "Warning" | ||
} |
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.
as there doesn't seem to be any other configuration for file system would this be better as
file_system { | |
level = "Warning" | |
} | |
file_system_level = "Warning" |
36fb256
to
2476076
Compare
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.
thanks for the change @sschmeck - just need to update the docs and this will; be good to merge!
Here's a scenario that I want to make sure is supported.
User should be able to:
I'm assuming that the second option will work, but could you also test to see if the first option turns it off as well?
Thanks, |
@katbyte Regarding the default value, I'm not sure it's necessary. I would expect the logging is turned off, if nothing is set explicitly. But I'm not able to test it. I'm not familiar with that kind configuration of configuration. I tried to check the extracted ARM templates for a App Service in the Azure Portal but couln't find the setting in the extracted template. :/ In the Azure Portal where you setup the App Service logs view, there is a tooltip for the Application Logging (Filesystem) with the following tooltip - "Enable application logging to collect diagnostic traces from your web app code. You'll need to turn this on to enable the streaming log feature. This setting turns itself off after 12 hours." Therefore the configuration seems not persistent. |
LMK if you want me to test anything. |
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.
Thanks @sschmeck - we can add the default later on if need be, and since its a temporary setting even easier. LGTM 👍
azurerm_app_service_slot
- support application_logs.file_system
This has been released in version 2.21.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.21.0"
}
# ... other configuration ... |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Fixes #7007