Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

IIS Logging app cmd issue

$
0
0

Hi All,

I am trying to update the log file rolling to hourly through appcmd. But it is failing for only for default web site. 

appcmd.exe set config -section:system.applicationHost/sites /[name='Default Web Site'].logFile.period:"Daily" /commit:apphost

But, I am able to update through site id and i am getting success. I need to do only with site name. So please check and help. 

FYI - I am able to update other site's with site name.

Error i get when i am executing this. 

Failed to process input: The parameter 'Site'].logFile.period:Daily' must begin with a / or - (HRESULT=80070057).


Viewing all articles
Browse latest Browse all 7363

Trending Articles



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