- 2 minutes to read

DaysToKeepMessageContextDefault - System Parameter

The DaysToKeepMessageContextDefault System Parameter defines the default number of days to retain context for each event. This value is assigned to new message types as their default. If you change this value, you must restart the Logging Service

The Logging Service can automatically create new Log Databases as they become too old or too large.

We at Nodinite recommend setting a small number, such as 14 days (the default in the Install and Update Tool), to optimize storage and performance.

Warning

If you log more than you delete, you will eventually fill the Log Database until it either slows down or runs out of disk space.

Nodinite is designed to handle large volumes of logged data by creating new databases as old ones grow. However, you must still manage disk space for all retained data. Nodinite offers a smart solution—delete events based on content (specifically, the message type, or MessageType) so you keep only what matters.

System Parameter Name Data Type Values/Example Comment
DaysToKeepMessageContextDefault integer 14 (days) Default = 14 (14 days)

This feature is available from Nodinite version 5.3.


Frequently Asked Questions

Find more solutions and answers in the Nodinite System Parameters FAQ and the Troubleshooting user guide.

How do I change the value?

Changing a value for the pre-defined System Parameters is described in the generic 'How do I change the System Parameters' article.


Next Step

DaysToKeepMessageEventsDefault
DaysToKeepMessageDataDefault
Message Types
DaysToSplitDatabaseOn
Administration