Log Files

The Service Virtualization application logs include messages related to each of the Service Virtualization software components - Designer, Server, and Service Virtualization Management, as well as related backup and restore, installation, and licensing logs.

Open logs

You can access the Service Virtualization logs from the Windows Start menu, under All Programs > Micro Focus > Service Virtualization Designer/Server > Designer/Server Log Folder.

Back to top

Log locations for Windows

  • Designer:

    %APPDATA%\Micro Focus\Service Virtualization Designer\logs

  • Server:

    %ALLUSERSPROFILE%\Micro Focus\Service Virtualization Server\logs

Back to top

Log locations for Linux

  • RPM

    /opt/microfocus/sv-server/logs

  • TAR

    /user/custom/directory/sv-server-VERSION/logs

Back to top

Configure logging

Messages are written to the log files based on the log levels that are defined in the application configuration files. Log levels include WARN, DEBUG, INFO, and ERROR.

You can change log levels using the Service Virtualization configuration files:

  • Service Virtualization Server configuration file:

    %[INSTALLLOCATION]%\Server\bin\HP.SV.StandaloneServer.exe.config

  • Designer configuration file:

    %[INSTALLLOCATION]%\Designer\bin\VirtualServiceDesigner.exe.config

Changes made to the logging configuration are effective immediately, and do not require an application restart. To disable the ability to make changes without restarting the application, locate the following line in the configuration file and set the value to False:

<add key="log4net.Config.Watch" value="True"/>

Back to top