Service Virtualization

 View Only
  • 1.  Relocating the log files

    Posted Oct 11, 2019 07:54 AM
    Hello Everyone,
    I am trying to figure out how to move the contents of "lisatmp_10.3.0" outside of the installation folder. Would it be possible to set lisa.tmpdir=D:\AlternateLocation in the beginning of logging.properties file to resolve this issue? 

    Thanks,
    Prashanth


  • 2.  RE: Relocating the log files
    Best Answer

    Broadcom Employee
    Posted Oct 11, 2019 10:40 AM
    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/continuous-testing/devtest-solutions/10-5/logging.html

    ------------------------------
    Head of Product Management: Service Virtualization
    CA Technologies - A Broadcom Company
    ------------------------------



  • 3.  RE: Relocating the log files

    Posted Oct 12, 2019 08:52 AM
    Hi,

    Log files can only be set early in the startup process of the application (before the actual logging starts). 
    You need to set this in the .vmoptions file of the process (ie. for all the processes of your SV platform).
    Add:
    -Dlisa.tmpdir=<yourTmpDir>

    ------------------------------
    Cheers,
    Danny
    ------------------------------



  • 4.  RE: Relocating the log files

    Posted Oct 12, 2019 08:56 AM
    Also, remember that is the path needs to be java-like:
    -Dlisa.tmpdir=D:/AlternateLocation
    or
    -Dlisa.tmpdir=D:\\AlternateLocation

    ------------------------------
    Cheers,
    Danny
    ------------------------------