Main Content

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.

  1. Select the server instance from the leftmost navigation pane.

  2. Select the Settings tab.

  3. Expand the Logging area.

  4. 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 results

    • warning — Events that could lead to problems if unaddressed

    • information — High-level information about major server events

    • trace — Detailed information about the internal state of the server

    Before you call MathWorks® technical support, set logging levels to trace.

  5. 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.

  6. Set Log Rotation Size to the maximum size of the active log.

    When the active log reaches this limit, it is archived.

  7. Click Save.

  8. Restart the server instance. See Restart Server Instance.

See Also

Properties

Related Topics