To enable virtual server level logging, perform the following steps
Go to the Logs tab in the Server Manager for the server instance and select Log Preferences.
Create a new access log by entering the path and file name in the Log File field.
You can also manually create a new access log in magnus.conf by changing
Init fn=init access="$accesslog" to Init fn=init access="newaccesslog"
Select Only Log under Format and check Virtual Server Id.
For a custom format, select Custom Format and add %vsid% to the end of the line.
%vsid% is useful when using multiple virtual servers. This entry records vsid in the access log.
You can also manually add %vsid% to the end of Init fn in the magnus.conf file.
Click Apply Changes for your changes to take effect.