-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Set logging custom fields #205
Comments
appcmd.exe set config -section:system.applicationHost/sites taken from should be easy to add On Mon, Aug 24, 2015 at 5:42 PM, Spencer Owen [email protected]
|
Thanks @EasyAsABC123 Though it looks like
Error
The only way I was able to work around it, was with
Using |
No of course not, a config list would have to run first Justin Schuhmann
|
Been working on this for a while. I'm unable to figure out how to create a guard based on Hopefully someone else will figure it out someday. For now, I'm cheating and using |
@spuder might add this code to master, going to look into it now. |
Been lurking here for ages. For this one it is an IIS8.5 and above only feature if you add this you probably need to do some checking before you add it. |
@Rovastar https://github.com/chef-cookbooks/iis/blob/master/libraries/helper.rb#L93 is the function for this, thanks for the intel on iis 8.5 and higher |
In IIS8.5 there is a special
Enormously helpful to get rid of these 'key already exist' errors. |
note: I am aware this is specifically For reference later,
clear single mimeType:
clear whole section:
|
Hello, I've been able to set an not_if for X-Forward-For : not_if 'cmd /c C:\Windows\System32\inetsrv\appcmd.exe list config -section:system.applicationHost/sites | findstr "X-Forward-For"' |
@seeven-kathan awesome solution! |
@seeven-kathan thank you |
I'm trying to figure out if this cookbook can automate creating a custom logging field.
This can be done with the following powershell.
The cookbook only appears to support appcmd, and not
Add-WetConfigurationProperty
Is there a way to do this? I'm happy to open a documentation request once I figure it out.
The text was updated successfully, but these errors were encountered: