3

Question regarding the Diagnostic Events window (not the Diagnostic Tools window).

When running a service fabric project, the diagnostics event viewer appears. I want to be able to add my own provider to this list rather than copy-paste the provider name of my service every time I hit f5.

For some reason while this is supposed to happen automatically, this window is not picking up my provider (I think because my solution / project folders are not based off a classic "sln is in the root directory" organization - a hint about that is in the last post in this SO article: "not logging to etw" ).

2 questions:

  • how to set the list of providers automatically or through a config?
  • Is there any documentation on this diagnostic events tool?

I have searched and not found any docs on the Diagnostic Events tool. I am wondering if this is a service fabric extension tool and not a Visual Studio tool...

Thank you. Mark

Community
  • 1
  • 1
MarkD
  • 1,511
  • 18
  • 32

1 Answers1

0

For storing configuration, this is a feature request we are working on delivering in an update of the tooling. Currently this is not possible.

cs95
  • 379,657
  • 97
  • 704
  • 746
  • I have the same issue. Do you need physical folders' structure or solution's structure that is visible in Solution Explorer in VS? – cassandrad Jul 21 '16 at 13:47
  • Please share both - you can send an email to mikhegn(a) microsoft.com - thanks – Mikkel Mørk Hegnhøj Jul 22 '16 at 19:56
  • @MikkelMørkHegnhøj sent. – cassandrad Aug 03 '16 at 15:29
  • Thanks for the information - we will be looking in to this bug. – Mikkel Mørk Hegnhøj Aug 08 '16 at 11:08
  • @MikkelMørkHegnhøj the issue with not finding the providers is still happening. Was it addressed or was there some sort of recommendation? Thank you. – Sean Feldman Mar 21 '17 at 13:06
  • Soo long ago :-( Still an issue? What SDK version are you on? – Mikkel Mørk Hegnhøj Jun 08 '17 at 17:18
  • I'm on SDK v2.8.232 and SF v6.8.232, and it's still happening. Note that other providers like 'Microsoft-ServiceFabric-Services' and 'Microsoft-ServiceFabric-Actors' are not being automatically added either. Perhaps the folder structure is causing an exception that is causing the code that scans for the [EventSource] attributes to exit prematurely? – HiredMind Dec 14 '17 at 19:46
  • @MikkelMørkHegnhøj this has been a major problem for me as it used to work. I'm not sure what update or change made this to stop working. Tried reinstalling VS, SF, ReSharper, etc. Only option left at this time to format which I can't do. How do I see what's causing it to not work..? Using VS Enterprise 2017 15.5.2, Service Fabric 2.8.232. – wonster Jan 03 '18 at 21:43