5.1 Configuring and Managing Deployment Logging

Secure API Manager allows you to configure various settings for the deployment log files for each product component. Since log files can quickly grow and take up valuable disk space, Secure API Manager bundles and prunes them according to the settings you configure. Bundling log files compresses them to reduce their size, helping you conserve disk space on the appliance.

  1. Log in to the appliance management console as the vaadmin user.

    https://ip-address-or-dns-name-appliance:9443
  2. Click Deployment Manager, then select Settings from the menu in the upper right corner of the page.

  3. Under Logging, turn logging on or off as needed for the Deployment Manager, Lifecycle Manager, or Gateway.

  4. (Conditional) If you want to download the Deployment Manager log files to send to NetIQ Technical Support, click the down arrow next to Deployment Manager Logging.

  5. Under Logging Disk Space, review the log bundle settings and customize them as needed for your environment.

    NOTE:Any changes you make to the following settings do not take effect until the Bundle Creation Period is over or you reboot the system. For example, with the default Bundle Creation Period of 5 hours, your changes would not take effect until the end of that 5 hour period.

    Bundling Creation Period The frequency with which Secure API Manager checks whether any of the maximum values that you configured on this page have been exceeded. The default is 5 hours. If your system is functioning well, your log files should not grow too quickly, so you might be able to increase the polling period.

    Maximum <Component> Log Size The maximum size that each component log can reach before Secure API Manager begins bundling it.

    Maximum Bundle Size When the overall log bundle size for all components exceeds this value, Secure API Manager runs a pruning process, beginning with the oldest logs.

    Maximum Bundle Count When the total number of log bundles for all components exceeds this value, Secure API Manager runs a pruning process, beginning with the oldest logs.

  6. Click Save.

The Log Bundles section shows the directory location of the log bundles and also displays a table containing the latest details about the log bundles that have been collected for each component. The table is empty until the component logs are large enough to be bundled. Next to the Log Bundles heading the following options are available:

  • To update the information in the table, click the Refresh icon.

  • To immediately create log bundles, click the Bundle Log Files Now icon. This action uses only the Maximum Bundle Size and Maximum Bundle Count settings.

  • To immediately delete all the log bundles, click the Delete Log Bundles icon.