Manage Log Files Using Dashboard
In MATLAB® Production Server™, log data is written to a server instance log file. To view the log file, select the server instance from the leftmost navigation pane and click the Logs tab. The log displays messages one entry at a time from newest to oldest.
Log data is written to the log file for as long as that instance is active, or until midnight. When the server is restarted, log data is written to an archive log.
From the dashboard, you can set parameters that define when the log is archived.
Select the server instance from the leftmost navigation pane.
Select the Settings tab.
Expand the Logging area.
Set Log Severity to the level of detail stored in the log.
The log level provides levels of information for troubleshooting:
error
— Notification of problems or unexpected resultswarning
— Events that could lead to problems if unaddressedinformation
— High-level information about major server eventstrace
— Detailed information about the internal state of the server
Before you call MathWorks® technical support, set logging levels to
trace
.Set Log Archive Max Size to the maximum size of archived log information.
When the combined size of the archive reaches this limit, archived logs are purged until the combined size of the archive is less than the specified size. The oldest archived logs are deleted first.
Set Log Rotation Size to the maximum size of the active log.
When the active log reaches this limit, it is archived.
Click Save.
Restart the server instance. See Restart Server Instance.