Creation of server and service provider logs

LegacyLegacy:

ArcGIS 10 is the last release of the stand-alone ArcGIS Image Server product. The image service definition (.ISDef) has been replaced by an improved geodatabase data model—the mosaic dataset—which can be published as an image service using the ArcGIS Server Image extension.

Log files list the events that occur in different components of ArcGIS Image Server, including the Service Editor, service provider, and server. ArcGIS Image Server maintains log files of all the requests made. The server and service provider create their respective logs. These are daily log files that can be converted to a database. The database can be analyzed to keep track of image service usage, service provider, and so on. This helps in billing, analyzing typical requests from clients, creating a summary of the most and least requested services, and so on.

The server and service provider logs are stored at C:\Documents and Settings\All Users\Application Data\ESRI\Image Server\Logs (for Windows Server 2003 and Windows XP) and at C:\ProgramData\ESRI\Image Server\Logs (for Windows Vista, Windows Server 2008 and Windows 7). You can view summaries of log information, export them, and delete them using the log viewer in the Image Server Manager.

The service provider log files can be written to a location of your choice by editing the Global.ISConfig file, stored in C:\Documents and Settings\All Users\Application Data\ESRI\Image Server (for Windows Server 2003 and Windows XP) or in C:\ProgramData\ESRI\Image Server (for Windows Vista, Windows Server 2008 and Windows 7). You need to add the logging location between the DefaultLogs tags. For example:

<Global>
  <FolderPathOverride>
    <DefaultLogs>C:\ServiceProvider\logs
     </DefaultLogs>
  </FolderPathOverride>

This will change the default location for the server and service provider logs. If you want the server logs to be written to a different location, you can edit the server configuration in the Image Server Manager.

The following steps list the common tasks that can be performed on the server and service provider logs.

Steps:
  1. In theImage Server Manager, click the server node in the table of contents.

    The Server Information table is displayed on the right.

  2. Click the View Server Logs button View server logs.

    The Server Machine Logs dialog box is displayed. The name and size of the log file are shown in a table. This table only displays the logs on the current machine where the Image Server Manager is running.

  3. Click a log file in the table to activate the buttons on the right side.
    • Click the View button to view the log file.

      This displays the Log Viewer window. You can view the log details such as the times, messages of actions, and source DLLs.

    • Click the Export button to convert the log file to a specific format and save it.

      These log files can be exported to a personal geodatabase and accessed and analyzed in ArcMap and ArcCatalog.

    • Click the Delete button to remove a log.

      The Delete message box is displayed to notify you that the selected log file will be deleted permanently.

    • Click the browse button to open a log that is not in the list.

      The Open dialog box appears. Browse to the log file and open it.

  4. Click Close to close the Server Machine Logs dialog box.

    Logs of the service provider can be accessed in a similar manner and can be exported as multiple Microsoft Access database (.mdb) files.

Related Topics


4/18/2011