Question

I'm using Windows Azure Virtual Machine and installed IIS media services. I'm doing encoding, using Expression Encoder, on this virtual machine publish points.

This is creating too many error log files under C:\Windows\System32\LogFiles\HTTPERR. Which is increasing the drive size. I've to manually delete these files.

I want to stop creating these log files.

Here is what I tried:

Help link

I run the following command in command prompt:

CD C:\Windows\System32\inetsrv

appcmd.exe set config "Default Web Site" -section:system.webServer/httpLogging /dontLog:"True" /commit:apphost

Result:

C:\Windows\System32\inetsrv>appcmd.exe set config "Default Web Site" -section:sy
stem.webServer/httpLogging /dontLog:"True" /commit:apphost
Applied configuration changes to section "system.webServer/httpLogging" for "MAC
HINE/WEBROOT/APPHOST/Default Web Site" at configuration commit path "MACHINE/WEB
ROOT/APPHOST"

Sample text from http error file [file size is 1 MB]:

#Software: Microsoft HTTP API 2.0
#Version: 1.0
#Date: 2013-07-09 11:35:50
#Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
2013-07-09 11:35:50 168.62.194.141 57005 10.146.242.42 80 HTTP/1.1 POST /PP/TEST.isml/Streams(Encoder1) - 1 Request_Cancelled ASP.NET+v4.0
2013-07-09 11:35:50 168.62.194.141 57007 10.146.242.42 80 HTTP/1.1 POST /PP/TEST.isml/Streams(Encoder1) - 1 Request_Cancelled ASP.NET+v4.0
2013-07-09 11:35:50 168.62.194.141 56033 10.146.242.42 80 HTTP/1.1 POST /PP/TEST.isml/Streams(Encoder1) - 1 Request_Cancelled ASP.NET+v4.0
Was it helpful?

Solution

I haven't seen that command ... so I don't know if that will work ... but this should work ...

http://support.microsoft.com/?id=820729

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top