Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Configure diagnostic archives


Each server in a domain persists (archives) all events, log records, and harvested metrics collected by the WebLogic Diagnostic Framework. Log files are archived as human-readable files. Events and harvested data are archived in binary format, in a Weblogic persistent store or in a database.

To configure settings for a diagnostic archive:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. In the left pane, expand Diagnostics and select Archives.
  3. On the Summary of Diagnostic Archives page, click the name of the server for which you want to configure diagnostic archive settings.
  4. Select one of the following archive types from the Type list:
    • Select File Store to persist data to the file system. If you choose this option, enter the directory in the Directory field. The default directory is the data/store/diagnostics directory under the home directory of the server.
    • Select JDBC to persist data to a database. If you choose this option, select the JDBC data source from the Data Source list. You must first configure JDBC connectivity to use this option. See Configure database connectivity.
  5. Set data retirement options, as follows:
    1. In the Preferred Store Size field, enter a maximum data file size, in megabytes. When this size is exceeded, enough of the oldest records in the store are removed to reduce the size of the store below the maximum.

      Note: This setting affects file stores only. However, this field is required when configuring diagnostic archives, whether you are using a file store or a database.

    2. In the Store Size Check Period field, enter the interval, in minutes, between the times when the store will be checked to see if it has exceeded the preferred store size.

      Note: This setting affects file stores only. However, this field is required when configuring diagnostic archives, whether you are using a file store or a database.

    3. Select or deselect the Data Retirement Enabled check box to enable or disable data retirement for this server instance.

      Note: In addition to size-based data retirement options, as explained in this step, you can also create age-based data retirement policies for individual archives in the file store or the database where diagnostic data is persisted. Data retirement must be enabled at this level (that is, the Data Retirement Enabled check box must be selected) for age-based data retirement policies to be enabled. See the next step.

  6. Click Save.
  7. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
    Not all changes take effect immediately—some require a restart (see Use the Change Center).

After you finish

Create, configure, or enable age-based data retirement policies for individual archives, if desired. See Create Diagnostic Data Retirement Policies.


Back to Top