none
best practices of Logging in BizTalk RRS feed

All replies

  • All the 'logging' you will ever need is already built in to the stack with Windows Event Log and BizTalk Tracking.

    The only reason to ever go beyond those is if you have an external, documented regulatory or legal requirement to store data.

    Thursday, July 18, 2019 12:03 PM
    Moderator
  • Our Management wants to have consistent methodology of having logging mechanism for the various ESB (BizTalk) apps.

    What are the best practices and suggestions ? Please advise


    RH

    Thursday, July 18, 2019 7:38 PM
  • It also depends on what you are wanting to log.

    If it is errors, the Windows Event Log is a good place.

    If you want logging there for diagnostics, then best practice is using the Event Tracing for Windows and use the BizTalk CAT Instrumentation Framework Controller when you want to see the Events you are tracing.


    Thursday, July 18, 2019 10:17 PM
  • Following can be one of the alternatives to be used in c# helper classes and orchestration code:

    You can create EnableDebugmode key in SSO with value (true/false) and write code in orchestration 

    if(EnableDebugmode == 'true')

    {

    System.Diagnostics.Evenlog.WriteEntry("","");

    }

    We can set this values to true or false whenever required.

    Hope this helps. Thanks.


    Pooja Jagtap Software Engineer KPIT Cummins

    Monday, August 19, 2019 6:44 AM