Collecting logs

There are two types of logs sources that you should stream to log storage:

  • Service Fabric logs: Service Fabric platform emits logs to Event Tracing for Windows (ETW) and EventSource channels. Service Fabric logs include events emitted from Service Fabric platform such as creation and application, state change of nodes, and so on. These logs also contain information emitted from the Reliable Actors and Reliable Services programming models.
  • Application Logs: These logs are generated from the code of your service. You can use the EventSource helper class available in Visual Studio templates to write logs from your application.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset