Azure role ( WCF services ) is not logging trace information -


i'm hosting bunch of wcf services in worker role, i'm deploying azure. problem standard trace logging isn't showing in azure storage tables.

in code - i'm using

trace.traceinformation("something") 

in .csdef i've got default

<imports>     <import modulename="diagnostics" /> </imports> 

in .csfg i've got

   <configurationsettings>       <setting name="microsoft.windowsazure.plugins.diagnostics.connectionstring" value="connection_string_that_works_for_other_role" />   </configurationsettings> 

and in wadcfg i've got

  <logs bufferquotainmb="1024" scheduledtransferperiod="pt1m" scheduledtransferloglevelfilter="verbose" /> 

this setup works fine worker role i'm deploying too, logs nicely in wadlogstable. 1 isn't. pointers?

how setting diagnosticmonitortracelistener, , in process doing trace.traceinformation calls? see in diagnosticmonitortracelistener in app.config, trace.traceinformation calls happening in other process. have setup diagnosticmonitortracelistener in .config file (or in code via tracelisteners.add) process trace.traceinformation calls being made from. if doesn't resolve issue there 3 approaches take troubleshoot issue:

  1. is problem code writing trace statements? rdp azure vm , setup simple textwritertracelistener write file - http://msdn.microsoft.com/en-us/library/sk36c28t(v=vs.110).aspx.
  2. is problem traces not being picked windows azure diagnostics agent (ie. problem describe above diagnosticmonitortracelistener not being registered)? use table2csv tool in azuretools @ http://blogs.msdn.com/b/kwill/archive/2013/08/26/azuretools-the-diagnostic-utility-used-by-the-windows-azure-developer-support-team.aspx @ wadlogs tsf files.
  3. is problem of traces being collected, not uploaded storage? use same table2csv tool @ maevent tables. these tables log transfer of diagnostic data storage.

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -