Using Seperate JCL Loggers on GridServer Components

Using Seperate JCL Loggers on GridServer Components

book

Article ID: KB0089759

calendar_today

Updated On:

Products Versions
TIBCO DataSynapse GridServer -
Not Applicable -

Description

Resolution:
By default, GridServer registers its logger as the default Java Common Logger. If you want to have your own JCL setting, you can reset the LogFactory setting by doing the following:

org.apache.commons.logging.LogFactory.releaseAll();
System.setProperty("org.apache.commons.logging.LogFactory",
     LogFactory.FACTORY_DEFAULT);

You must also change Engine Configurations to use the System Classloader due to Classloader reference conflict. Information on this can be found at: http://www.qos.ch/logging/classloader.jsp.

Issue/Introduction

Using Seperate JCL Loggers on GridServer Components