Introduction
This article will describe how to set the log level of Studio Pro itself to debug. This allows for troubleshooting of issues in Studio Pro where more detailed logging is required, or when Mendix Support requests these detailed logs.
Environment
Studio Pro (all versions)
Instructions/Procedure
In Studio Pro versions 10.17.0 and newer, this can be configured in the top bar navigation under Help > Support Tools > Log Level > Debug:
In versions older than 10.17.0, Studio Pro needs to be started with a feature flag to enable the debug log level. There are two ways to do this:
Windows desktop shortcut
- Open the properties of the desktop shortcut of the relevant Studio Pro instance by right-clicking on the shortcut and selecting Properties. If the option isn’t shown directly (for example, on Windows 11), first select Show more options.
-
Add the --log-level=debug feature flag to the end of the Target field. The value of the field will look something like this:
"C:\Program Files\Mendix\XX.YY.BBBB\modeler\studiopro.exe" --log-level=debug
(Where XX.YY.BBBB is the relevant version of Studio Pro). - Click OK to close the dialog.
- Start Studio Pro through the shortcut that was just configured with the feature flag.
Windows command line
- Go to the Mendix installation directory of the relevant version of Studio Pro.
This is typically C:\Program Files\Mendix\XX.YY.BBBB\modeler
(Where XX.YY.BBBB is the relevant version of Studio Pro). - Open Command Prompt by typing cmd in the address bar
-
Type studiopro.exe --log-level=debug and press enter.
Outcome
Following the steps above enables detailed logging at the debug level in Studio Pro. To find the logs after opening Studio Pro, navigate to Help > Open Log File Directory.
Internal information related
- How to start StudioPro with a feature flag
Additional information
Mendix documentation:
0 Comments