intellij-ideaoutput

Intellij Idea, how to persist console output to file programmatically?


Is there a way to tell IntelliJ where to store the output info?


Solution

    1. Go to Run/Debug Configuration
    2. Click the "Logs" tab
    3. Check the "Save console output to file" box and select the output directory.
    4. Apply/OK

    Source: https://www.jetbrains.com/help/idea/setting-log-options.html