Log Maintenance Options


The MobiControl Manager Log Maintenance Options dialog box allows the user to view and configure various settings for the event logs generated and stored in the database. Access it from the main Manager console by clicking the Tools menu, clicking Options, clicking the General tab, then clicking the Log Maintenance button.

Configuring Log Maintenance

With time, event logs and the database in which they are stored grow in size. If the size of the logs is not limited, they can cause the database to grow substantially and eventually run out of space. In order to avoid such situations, log maintenance is highly recommended. MobiControl comes with options to configure log maintenance to meet the user's requirements. Log Maintenance takes place at midnight. You may see that you are getting access denied errors when creating or editing the log file. In order to avoid access denied errors, you must ensure full permissions are granted to the user creating and updating the log file.

Configure Log Maintenance page

The table below describes the fields in the Configure Log Maintenance page:

Field Name Description
Truncate According to Record Number

The option allows the user to set the record number at which truncation would begin. As logs are stored in the database, they are stored sequentially in a table and each row in the table has a unique record number.

  • When the High Water Mark is reached, all records up to the low water mark are purged.
  • The Low Water Mark is the limit up to which the records will be truncated.
Truncate According to Age

This option allows the user to control the truncation based on the age of the logs. Once this parameter is set, all logs older than the date specified are deleted from the database.

Truncate Log Now This option truncates the logs immediately. The truncation is based on the configured water marks and the truncation 'age' threshold.
Delete devices which are offline This option will delete those devices, which are offline for more than the time specified from the database.
Truncate Alerts Now This option truncates the alerts immediately according to the truncation 'age' threshold.
Shrink Database Now This option performs the shrink operation on the database immediately to reduce its size. This option will compress the data in the database using the SQL's standard compression techniques.
Archive Truncated Logs to Files Users can specify a location on a server or workstation to where the truncated log files will be written. With this option, the user can store the log files outside the MobiControl Database. This can help the user reduce the size of the database.
Delete Archives Older Than The archived log files, stored at a the location specified in the above field, can be deleted after a set duration. This can prevent the secondary storage location of the logs from running out of space.
Select Deployment Server This option allows the user to choose which Deployment Server should perform the log maintenance. This option is useful when there is more than one Deployment Server. This way, a Deployment Server with a lower priority can be selected to perform the database log maintenance.

Note:

Truncation occurs at Midnight (local time of the Deployment Server), however the Deployment Server truncates records according to the UTC timestamp.