Skip to main content

MaxConsoleLogSize

Set the maximum size of the messages.log file.

Synopsis

[Startup]    MaxConsoleLogSize=n

n is an integer in the range 1—500 (MB). The default value is 5.

Description

MaxConsoleLogSize is the maximum size of the InterSystems IRIS® data platform console file, in megabytes. The console file is messages.log, located in the install-dir\mgr directory by default, or the directory specified by the console parameter.

If you enter a value that is smaller than the current setting of MaxConsoleLogSize, or if the console file grows to reach the size limit, then the current messages.log file is renamed to messages.old_Date. The instance creates an empty messages.log file, and new entries are appended to the newly-created file.

You can view the messages log on Messages Log page of the Management Portal (System Operation > System Logs > Messages Log). To configure the location of the messages.log file, see ConsoleFile parameter.

Changing This Parameter

On the Startup page of the Management Portal (System Administration > Configuration > Additional Settings > Startup), in the MaxConsoleLogSize row, select Edit. Enter a number of megabytes.

Instead of using the Management Portal, you can change MaxConsoleLogSize in the Config.StartupOpens in a new tab class (as described in the class reference) or by editing the CPF in a text editor (as described in Editing the Active CPF).

FeedbackOpens in a new tab