search cancel

Turn on Logging for single service

book

Article ID: 186098

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

The customer wants to gain metrics on rows returned in Find and Reserve Module, not just the ones actually reserved.
I know in the past that customers have been give such an entry for specific services to put in application properties file.
What would that line be for Find and Reserve? 

Environment

Test Data Manager
TDM

Cause

Need specific debug without enabling all debug logs.

Resolution

it is all spring framework

in application.properties you can add

# TDMFindReserveService
logging.level.com.ca.tdm.findreserve=debug

# TDMDataReservationService
logging.level.com.ca.tdm.datareservation=debug