DATA_DIRECTORY

The DATA_DIRECTORY element specifies the directory used to store web services monitoring data.

Syntax

<DATA_DIRECTORY>path</DATA_DIRECTORY>
  1. path specifies the path to the web services monitoring directory. The default path is set by the $(res.path.monitoring) resource to $(res.appdata.path)/monitoring, where appdata refers to GAS application data directory.

The DATA_DIRECTORY element does not support any attributes or have any child elements.

Child elements

There are no child elements.

Usage

Use the DATA_DIRECTORY to configure the location of web services monitoring, where data files may be accessed.
Warning:

It is important that you use a local directory on your GAS server and not a network directory for this data to avoid any issues with concurrent access. For monitoring data this is an important consideration.

Usage example - use data directory directly

To set the monitoring directory in your web service configuration file (xcf), add a MONITOR element with a DATA_DIRECTORY element. In this example, the DATA_DIRECTORY path is set:
<APPLICATION Parent="ws.default">
   #...
   <MONITOR>
      <DATA_DIRECTORY>/var/logs/GAS/monitor</DATA_DIRECTORY>
   </MONITOR>
    #...
 </APPLICATION>

Parent elements

This element is a child of MONITOR.