Print the complete HTTP response in webservice gateway logs
search cancel

Print the complete HTTP response in webservice gateway logs

book

Article ID: 367034

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

When debug logging is enabled on webservice gateway service, the HTTP response is truncated in the logs.

Environment

Watch4net|MnR - 7.x

Resolution

In order to print complete logging, perform the below changes to unix-service.properties

  • Navigate to the Watch4net /unix-service.properties directory here /<APG base dir>/Tools/Webservice-Gateway/Default/conf/unix-service.properties, add below Java parameter:
#===================================================
# Additional Java Parameters, starting from index 1
#===================================================

jvm.param.<index value>=-Dcom.sun.xml.internal.ws.transport.http.HttpAdapter.dumpTreshold=999999
  • Restart webservice gateway service