Main Content

Server Logs

The default location for the server logs is:

Operating SystemLogs Folder Location

Windows®

%ProgramData%\MathWorks\webapps\R2024a\logs

Linux®

/local/MathWorks/webapps/R2024a/logs

macOS

/Library/Application Support/MathWorks/webapps/R2024a/logs

The server generates multiple log files, each with a distinct purpose. Depending on the issue you encounter, you may need to review one or more of these log files.

If you configured a different folder location for the server logs, execute webapps-config get logs_path from the system command-line to get the location.

Log File NamePurpose

webapps_<timestamp>.log

Log file for the service that runs the server.

webapps_launcher_<timestamp>.log

Log file for the service that runs applications.

webapps_launcher_service_start.err

Log file that captures errors associated with starting the service that runs applications.

webapps_launcher_service_start.out

Log file that captures standard output when the service that runs applications fails to start.

webapps_service_start.err

Log file that captures errors when the service that runs the server fails to start.

webapps_service_start.out

Log file that captures standard output when the service that runs the server fails to start.

Note

If you are unable to see log files in the logs folder, check to see if the logs folder has write permissions.

Related Topics