GoLand 2023.3 Help

Setting log options

Use Logs tab in the Run/Debug Configuration dialogs to configure the way log files, generated by an application or server, are displayed in the console.

If your application or server generates log files, the default entries will be automatically added to the log file list in the Run/Debug Configuration dialog.

Configure options for logs

  1. Go to Run | Edit Configurations. Alternatively, press Alt+Shift+F10, then 0.

  2. In the Logs section, click the Add button the Add button.

  3. In the Alias field, type the alias for the log entry.

  4. In the Log File Location field, specify the log files to display during running or debugging. You can specify the files by using two options:

    • Specify the full path to a specific file. Type the path manually or click the Browse button the Browse button and select the file.

    • Specify the base directory and add an Ant pattern that defines the fileset to be displayed.

  5. (Optional) Select the Show All Files Coverable by Pattern checkbox to open a separate tab for each log file that matches the specified Ant pattern.

  6. Click OK.

  7. In the Edit Log Files Aliases table, select the Is Active checkbox to have the log entries displayed in the corresponding tabs in the Run tool window or Debug tool window.

  8. To skip the previous content of the selected log, select the checkbox in the Skip Content column.

Configure log entries
Last modified: 15 January 2024