Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Configure Advanced Logging through powershell

$
0
0

Hello,

Are there any examples for how to create global fields, and logging formats through powershell?

By looking at: C:\Windows\system32\inetsrv\config\applicationHost.config

I can see the new custom field I manually created:                    

<field id="http_client_ip" sourceName="Client-IP" sourceType="RequestHeader" logHeaderName="" category="Default" description="" defaultValue="" loggingDataType="TypeLPCSTR" />

How can I insert this and the logDefinition entry

<logField id="http_client_ip" logHeaderName="" required="false" defaultValue="" />




Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>