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? we are still on 4.7.114

Cause

Need specific debug without enabling all debug logs.

Environment

Release : 4.7

Component : CA Test Data Manager

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