Portal logs are creating in default location even though the different location is configured in VMOPTIONS
search cancel

Portal logs are creating in default location even though the different location is configured in VMOPTIONS

book

Article ID: 212061

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Portal logs are created in default location even though the different location is configured in VMOPTIONS with the below property in PortalServive.vmoptions

-Dlisa.tmpdir=/Test/CA/DevTestx.x/LisaTempLogsx.x/ 

where x.x is version of DevTest.

The same property is working fine for all other logs.

Environment

All supported DevTest releases.

Cause

Corrupted PortalService.vmoptions caused the issue.

Resolution

Creating a new PortalService.vmoptions from the other working VMOPTIONS resolved the issue.

For example, if registry.log is created in the path /Test/CA/DevTestx.x/LisaTempLogsx.x/ then open RegistryService.vmoptions file and saved it as PortalService.vmoptions file.

Then make any other configuration changes if needed for the PortalService.vmoptions and save it. 

Then restarted PortalService and the logs should be seen in the /Test/CA/DevTestx.x/LisaTempLogsx.x/  instead of it in the default folder.

 

where x.x is version of DevTest.

Additional Information