TIBCO BusinessEvents allows module level logging through the Cluster Deployment Descriptor (.CDD) file.

TIBCO BusinessEvents allows module level logging through the Cluster Deployment Descriptor (.CDD) file.

book

Article ID: KB0090460

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
==========
TIBCO BusinessEvents allows module level logging through the Cluster Deployment Descriptor (.CDD) file.

Environment:
===========

All Operating Systems
TIBCO BusinessEvents 4.x,5.x

Resolution:
===========
Initially set the log level as *:all so it gives all the available module names and then later change the logging level for different modules using the log trace. Sample snippet from a TIBCO BusinessEvents log file :

2012 Oct 30 19:12:35:052 GMT -7 abiswas-T520.na.tibco.com Debug [main] - [runtime.service] Deployed RuleFunction: void RuleFunctions.StartUp()
2012 Oct 30 19:12:35:071 GMT -7 abiswas-T520.na.tibco.com Info [main] - [runtime.session] Registered Ontology Classes
2012 Oct 30 19:12:35:465 GMT -7 abiswas-T520.na.tibco.com Info [main] - [runtime.session]  C:/tibco_demo/be/5.1/views/lib/cep-metric.jar        : Version 5.1.0.158, 2012-08-21 -
2012 Oct 30 19:12:35:518 GMT -7 abiswas-T520.na.tibco.com Info [main] - [runtime.scheduler] [inference-class] Initialized thread pool [$default.be.mt$] with max [10] threads and max [1024] job queue size.
2012 Oct 30 19:12:35:678 GMT -7 abiswas-T520.na.tibco.com Debug [main] - [kernel.core] [inference-class] Rule loaded: /Rules/BookInformationRule
2012 Oct 30 19:12:35:718 GMT -7 abiswas-T520.na.tibco.com Debug [main] - [query.model] [inference-class] Registered 1 rule functions
2012 Oct 30 19:12:35:774 GMT -7 abiswas-T520.na.tibco.com Debug [main] - [bemm.functions] [inference-class] Deployments historic file not found at C:\test\null\mm\deployment\deploy_history.xml
2012 Oct 30 19:12:36:418 GMT -7 abiswas-T520.na.tibco.com Debug [main] - [query.model] [inference-class] Registered 755 catalog functions out of 755.

Explanation:
=========
2012 Oct 30 19:12:35:678 GMT -7 abiswas-T520.na.tibco.com Debug [main] - [kernel.core] [inference-class] Rule loaded: /Rules/BookInformationRule
The above is a log statement with the module name as kernel.core .Similarly the module name can be derived for all log statements.

In the CDD file go to Collections - > Log Configuration -> logConfig
Modify Levels *:info runtime.service:debug kernel.core:debug
The above change will ensure info statement from all modules and debug and info statements from modules runtime.service and kernel.core .

Issue/Introduction

TIBCO BusinessEvents allows module level logging through the Cluster Deployment Descriptor (.CDD) file.