windows - Diagnostic Monitor Trace Listener -
i know if possible modify way trace recording trace information ?
trace.listeners.add(new diagnosticmonitortracelistener()); trace.traceinformation("onstart");
i able use current wadlogstable , adding 1 or more custom columns table. right default table created diagnosticmonitorconfiguration looks that:
partitionkey|rowkey|timestamp|eventtickcount|deploymentid|role|roleinstance|level|eventid|pid|tid|message|
i add @ end custom columns :
partitionkey|rowkey|timestamp|eventtickcount|deploymentid|role|roleinstance|level|eventid|pid|tid|message|custom1|custom2
so every time trace able add data 2 custom columns thanks
i don't think you'll able this. while windows azure diagnostics quite extensible, you'll not able modify schema trace logging. recommend looking implementing custom diagnostics. may find link useful this: http://convective.wordpress.com/2009/12/08/custom-diagnostics-in-windows-azure/.
Comments
Post a Comment