Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..
207 views

How to set DEBUG for specific TQL ONLY

If you think, that you have a problem in calculation of specific TQL, there is an option to not move to DEBUG everything, but specific one only.

 

To do so, please alter C:\hp\UCMDB\UCMDBServer\conf\log\cmdb.properties as below, where "scanner_uda" is the name of the TQL. 

log4j.category.cmdb.tql.calculation=FATAL,cmdb.tql.calculation.appender

#change "tqlName" to the name of your pattern to get calculation tql details specific to that pattern

log4j.category.cmdb.tql.calculation.scanner_uda=DEBUG,cmdb.tql.calculation.tqlName.appender

No other changes requires. No reboot needed. Works after a couple of minutes after the change of log configuration.

Hope this helps. 

Regards
-Dmitry Gomel, PMP
Click the Like button at the bottom to say 'Thanks'.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.