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:

enter image description here

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.

  1. should care message?
  2. how rid of message in azure log stream?
  3. since system.applicationhost contains global configuration settings used windows process activation service in iis, if hypothetically speaking add new section 1 in system.applicationhost

enter image description here

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

websitelogs site extension


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -