Service Virtualization

 View Only
  • 1.  Virtual Service Logging

    Posted 13 days ago

    Hello,

    For the default logging files that are created for each virtual service, is there a way to edit the entries that are put in? Files titles VS_...

    Specifically for these entries: 

    2024-04-16T18:56:06,276Z (14:56)[SV-UTILITY-AUTHENTICATOR [VS_SV-UTILITY-AUTHENTICATOR_Run]/1] INFO  - Inbound Request. {"id":0,"operation":"GET /sv/utility/acl/authenticate/","arguments":{"username":"USER1","password":"PASSWORD1"}}

    Would like to edit the password field in the arguments.



  • 2.  RE: Virtual Service Logging

    Broadcom Employee
    Posted 10 days ago

    Hi Kazvin,

    As is configure the logging file to show only specific information is not available in the current versions of DevTest.

    The information you shared shows the password as part of your JSON request and it is not going to be encrypted by design. In general, if the password is in authentication then it will be encrypted automatically.

    You can change the VSE logging to OFF/WARN/ERROR in DevTest_Home/logging.properties by changing the below properties which will not show the INFO messages and that should help:

    rootLogger.level = INFO ---> rootLogger.level = OFF or rootLogger.level = INFO ---> rootLogger.level = WARN or rootLogger.level = INFO ---> rootLogger.level = ERROR

    logger.VSE.level = INFO---> logger.VSE.level = OFF or logger.VSE.level = INFO---> logger.VSE.level = WARN or logger.VSE.level = INFO---> logger.VSE.level = ERROR

    Hope the information helps.

    Regards,

    Prema