- Go to Run/Debug Configuration
- Click the “Logs” tab
- Check the “Save console output to file” box and select the output directory.
- Apply/OK
Source: https://www.jetbrains.com/help/idea/setting-log-options.html
Source: https://www.jetbrains.com/help/idea/setting-log-options.html