Log Configuration
You can configure logs and modify log configurations. You must have admin rights to configure log or modify configurations.
- Navigate to Admin Settings > Log Configuration.
The Log Configuration page is displayed. - Click Add new record.
- Select the logger name in the Logger Name field.
- Select the required log level from the Log Level drop down list.
- Select the time out for the new log record from the Timeout drop down list.
- Click Update to create the record.
The new log record is added successfully.
Editing a Log Record
You can edit, apply, or clear a log record.
- Navigate to Admin Settings > Log Configuration.
The Log Configuration page is displayed. - Click Edit under the Actions section in the row of the log record that you wish to edit.
The selected record is displayed in editable mode. - Make the required changes to the record.
- Click Update.
The selected record is updated.
Clearing a Log Record
- Navigate to Admin Settings > Log Configuration.
The Log Configuration page is displayed. - Click Delete under the Actions section in the row of the log record that you wish to edit.
The selected record is cleared or deleted successfully.
Configuring 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:
- Log in to the node as root.
- Open
/opt/meridian/dc/var/fsdc/conf/netra.conf
for editing.
Replace/opt/meridian
with your actual installation path. - 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 - Restart the meridian service:
service meridian-dc stop
service meridian-dc start