Temporarily changing a logging level

Set the log level using system tools

Procedure

  1. Ensure that the PolicyCenter application server is running.
  2. Open a command prompt in the following location:
    • admin/bin
  3. Enter the following at the command prompt:
    • system_tools -updatelogginglevel logger level

    The PolicyCenter administration command prompt tools all require that you enter the password of an administrative user for the tool to work. The use of a user name is optional.

Results

The change in the logging level persists while the PolicyCenter application server is running only.

Set the log level using web services

Procedure

  1. Ensure that the PolicyCenter application server is running.
  2. Call the following method on the SystemToolsAPI web service:
    SystemToolsAPI.updatelogginglevel(logger,level)

Results

The change in the logging level persists while the PolicyCenter application server is running only.

Set the log level from PolicyCenter

It is possible to set the log level temporarily from the PolicyCenter Set Log Level screen.

Procedure

  1. Log into Guidewire PolicyCenter using an administrative account.
  2. Navigate to the Server Tools Set Log Level screen.
  3. Select a logging level from the drop-down list.
  4. Enter the new logging level for that category.

Results

The change in the logging level persists only while the PolicyCenter server is running.