Can you mask data in VSE logs?
search cancel

Can you mask data in VSE logs?

book

Article ID: 239337

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

In reviewing some logs it was determined it would be desirable to mask certain types of data before it is written to disk.

Is there a way to mask specific data prior to it being written to the log file?

Environment

All Supported DevTest releases and platforms/

Cause

N/A

Resolution

This not possible to mask any data written log files for SV components, but we do have a feature that will desensitize data during a recording.

Refer to documentation link: https://techdocs.broadcom.com/us/en/ca-enterprise-software/devops/devtest-solutions/10-7/using/using-service-virtualization/using-devtest-workstation-with-service-virtualization/de-identifying-data.html

You can also try setting the logging instead of INFO in the logging.properties file on the machine where your VSE and virtual services are running.

Example:

Change from    log4j.logger.VSE=INFO, VSEAPP

Change to        log4j.logger.VSE=WARN, VSEAPP

or                     log4j.logger.VSE=ERROR, VSEAPP

This will however affect being able to see certain information in the Inspection view in the Portal.

Found this KB article that should also help:

How to turn off logging at VS level

https://knowledge.broadcom.com/external/article?articleId=202432