How to configure separate Log4j.properties per BusinessWorks (BW) Engine?
book
Article ID: KB0092272
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
-
Not Applicable
-
Description
Resolution: Description = = = = = =
Configuring separate Log4j.properties per BusinessWorks (BW) Engine.
Environment: =========== TIBCO BusinessWorks All Versions
Resolution: ========== BWEngine comes with a log4j.properties/log4j.xml in the lib/ folder. This file is used by all bwEngine instances on a particular machine.
To configure separate log4j.properities per BW application you will need to adhere to the following steps:
1. Add a property to <BW_HOME>/lib/com/tibco/deployment/bwengine.xml as follows:
2. Re-open the project in Designer and re-build the .ear file.
3. Deploy the application through the Admin GUI.
4. Under Admin Application configuration -> Process Archive -> Advanced -> java.property.log4j.configuration property. By default it will point to the Path of the default BW log4j properties file. You could specifyl an external path of the log4j properties files to override the default log4j properties file.
Issue/Introduction
How to configure separate Log4j.properties per BusinessWorks (BW) Engine?