How can we direct application logging that uses "write to log" activities in a BWSE process through the AMX common logging to a different log target like JMS

How can we direct application logging that uses "write to log" activities in a BWSE process through the AMX common logging to a different log target like JMS

book

Article ID: KB0092678

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Service Engine -
Not Applicable -

Description

Resolution:
- Make Sure in Logging Configuration the Appender for SA is set to JMS and Severity is INFO or ALL.
- Add Service Logs with a valid JMS connection and redirect it to a File or a DB.  
- Select all Log formats in the Service Logs.
- Change the Appender for Node Logging Configration to JMS. I’m not sure if this step is required but we do it anyway.
- Restart AMX Admin and Node.
- Make sure BW.Log.type is set to log4j in BW setting of SA.
- Start SA and send a request. Open the file or query your database (depending which option you selected to redirect your logs form JMS when a Service Log entry was created) and search for the Write To Log messages.

Please see the attach zip file for screenshots.

Issue/Introduction

How can we direct application logging that uses "write to log" activities in a BWSE process through the AMX common logging to a different log target like JMS

Attachments

How can we direct application logging that uses "write to log" activities in a BWSE process through the AMX common logging to a different log target like JMS get_app