Skip to main content
Version: 11.1

Log Configuration

You can configure logs and modify log configurations.

Create Log Configuration

  1. Navigate to Settings > Log Configuration.
  2. Click + Add Log Configuration.
  3. In the Logger Name field, search or use the dropdown to select a logger. If it's not listed, you can create a new one by entering the name manually.
  4. Select the Log Level from the drop-down list.
  5. Select the Timeout for the new log record.
  6. Click Create.

The new log record is added successfully.

Edit Log Configuration

  1. Navigate to Settings > Log Configuration
  2. Choose the log configuration that you want to edit and click on the Edit (pencil) icon under the Actions column.
  3. Apply the changes for the selected log configuration
  4. Click Save

The log changes are applied successfully.

Delete Log Configuration

  1. Navigate to Settings > Log Configuration
  2. Choose the log configuration that you want to delete and click on the Delete (trashbin) icon under the Actions column.
  3. Confirm that you want to delete the selected log configuration.
  4. Click Yes

The log configuration is deleted.

Configure Log Retention

The following data is automatically deleted from DC after reaching a certain age:

  • Discovery data (<installation-path>/dc/var/fsdc/data)
  • Log data (<installation-path>/dc/var/fsdc/logs)

The default retention period is one month. To reconfigure it, take these steps on each DC node in your cluster:

  1. Log in to the node as root.
  2. Open /opt/meridian/dc/var/fsdc/conf/netra.conf for editing.
    Replace /opt/meridian with your actual installation path.
  3. Change the following properties:
    # set the retention period for /dc/var/fsdc/data
    remove_older_data_days_count = 30
    # set the retention period for /dc/var/fsdc/logs
    remove_older_logs_days_count = 30
  4. Restart the meridian service:
    service meridian-dc stop
    service meridian-dc start