Hi,
We did a new IIS 7.0 installation and we wanted to check the log fields enabled. Although i'm able to see it in GUI mode and also powershell output for the command below provides the required output, but not in the applicationhost.config file
get-webconfiguration /system.applicationHost/sites/sitedefaults/logFile | select logExtFileFlags
If i do a uncheck of one of the fields and apply, recheck and apply, i'm able to see the fields in the config file.
Can someone throw light on how it works ? im posting here after spending almost 2 days of research and exhausted.