Logging Information

You can set up different levels of login using the Business Analyst Capabilities page from ArcCatalog and ArcGIS Server Manager.

The parameters available for Business Analyst Server logging are:

Log path = path to the log file

Logger level = level of logging

By default, logging is set to 0 and can be changed.

These message types are defined as follows:

LOG_ERROR—This message should be logged when a server operation fails because of an error on the operation side of the call. The message text contains a detailed description of the problem.

LOG_WARNING—This message should be logged when a server operation was completed successfully but there was a problem that was unable to be recovered.

LOG_INFO—This is an informational log message. For example, type INFO could be used for messages logged after drawing each map layer during the processing of a request.

LOG_DEBUG—This message may include information for debugging or testing server components. DEBUG logging could be used to report conditions that do not normally occur.

To configure in ArcCatalog

Steps:
  1. Start a session in ArcCatalog and follow the steps in Access properties of a map service using ArcCatalog.
  2. In the Service Editor dialog box, click Business Analyst.
    Service Editor pane
  3. Under Properties, select the Logger tab.
    Logger tab

To configure ArcGIS Server Manager

To add new logger services, follow these steps:

  1. Open ArcGIS Server Manager and login.
  2. In the Service Editor dialog box, click Business Analyst.
    Service Editor pane
  3. Select Capabilities from the menu.
  4. Select the Business Analyst from the list of map service capabilities.
  5. Click the Logger tab.
    Logger tab
  6. Enter a path to the log files.
  7. In the Enter logging level drop-down list, select a level. The levels are described above.
  8. Click Save and restart to apply the changes.
6/20/2013