Tag Archives: logback

ApplicationInsights-Appender for TIBCO BW6 logback

ApplicationInsights appender can be added to BW6 logback.xml by following the steps below.

  1. Add following jars and dummy ApplicationInsights.xml to D:\tibco\bw\6.4\system\shared\com.tibco.tpcl.logback_1.1.0.001

    applicationinsights-core-2.0.0.jar

    applicationinsights-logging-logback-2.3.1.jar

    applicationinsights-web-1.0.7.jar

    ApplicationInsights.xml content:

     

     

     

  2. Modify c:\tibco_642\bw\6.4\system\shared\com.tibco.tpcl.logback_1.1.0.001\META-INF\MANIFEST.MF by applicationinsights-core-2.0.0.jarapplicationinsights-logging-logback-2.3.1.jar,applicationinsights-web-1.0.7.jar to “Bundle-ClassPath”

  • Modify logback.xml under D:\tibco\bw\6.4\config
    • Add appender for applicationinsights, we must change the instrumentationKey based on the ENV

        your key

    • Add appender-ref to logger ESB and root as below

  1. For existing appnodes,
    1. we have to replace the existing logback.xml with modified logback.xml in step above(under D:\tibco\bw\6.4\config)
    2. Delete or rename the config folder of appnode
    3. Restart the appnode
      ApplicationInsights Appender
      Should we change existing applications? No
      Should we change existing BW installation? Yes
      Should we modify existing logback.xml? Yes
      Do we have parsed output in Azure portal? Yes
      What happens when Azure or network is down? We lose the logs
      Is thread blocked No