Sun Java System Web Server 6.1 SP11 Administrator's Guide

ProcedureTo generate a report for a virtual server

  1. Go to the Logs tab in the Server Manager for the server instance and select Log Preferences.

  2. 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"

  3. 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.

  4. Click OK.

  5. Click Apply.

  6. Click Apply Changes for your changes to take effect.

  7. Select the virtual server you wish to generate a report for and go to the Virtual Server Manager > Manage Classes > select the Virtual server from the tree view.

  8. Go to the Preferences tab and select Settings.

    In the Access Log field, change the access log to the newly created one.

  9. Click OK.

  10. Click Apply.

  11. Click Apply Changes for your changes to take effect.

  12. Select the Logs tab.

    The Generate Reports page appears.

    This page will not appear unless a virtual server has been created and LogVSid is On. For more information about enabling the Virtual Server Id, see Enabling Logging for a Virtual Server.

  13. (Optional) change the settings, if desired.

  14. Click OK to generate the report.