system.applicationHost entry in Azure Log Stream -
i have app service happily running on azure , works fine when view log stream have following entries after application logs gets connected:
as can see in above logs get
2017-07-28t10:42:42 :(6,10), no element in source document matches '/configuration/system.applicationhost/sites/site[@name='~1xxx']/application[@path='/websitelogs']'
this complaining system.application not have in web.config.
- should care message?
- how rid of message in azure log stream?
- since system.applicationhost contains global configuration settings used windows process activation service in iis, if hypothetically speaking add new section 1 in system.applicationhost
above configuration gets propagated sites on azure server?
you should ignore this. :-)
so message indication have azure web site log browser site extension installed. path /websitelogs
corresponds azure web site log browser site extension.
if notice, performing sequence of operations,
- it checks whether there entry path
/websitelogs
- as not found, proceeds insert operation , creates application type.
this done site extensions have installed.
at end, if check applicationhost.config file, see entry similar this:
<sites> <site name="~1samplewebapp" id="80239797"> <application path="/websitelogs" preloadenabled="true" applicationpool="~1kaushalp"> <virtualdirectory path="/" physicalpath="d:\home\siteextensions\websitelogs" /> </application> </site> </sites>
you find transformation logs here: d:\home\logfiles\transform
here snippet of same activity logs:
2017-07-28t16:41:41 start 'websitelogs' site extension transform 2017-07-28t16:41:41 :(6,10), no element in source document matches '/configuration/system.applicationhost/sites/site[@name='~1samplewebapp']/application[@path='/websitelogs']' 2017-07-28t16:41:41 not executing remove (transform line 6, 68) 2017-07-28t16:41:41 startsection executing insert (transform line 7, 64) 2017-07-28t16:41:41 on /configuration/system.applicationhost/sites/site[@name='~1samplewebapp']/application 2017-07-28t16:41:41 applying 'site' element (no source line info) 2017-07-28t16:41:41 inserted 'application' element 2017-07-28t16:41:41 endsection done executing insert 2017-07-28t16:41:41 successful 'd:\home\siteextensions\websitelogs\applicationhost.xdt' site extension transform
here screenshot of looks like
Comments
Post a Comment