Output IntelliJ IDEA logs to a local file

Posted on Mar 8, 2022
Note: This article was written a while ago and may contain outdated information. Please verify the details before relying on it. If I express opinions or recommendations, they might not reflect my current views. For this reason, I recommend checking for more recent articles on the same topic.

If you want to store logs of a Gradle run to a file, just add the filepath (including the name) via the UI.

For this you need to follow these options:

RUN -> Edit configurations -> Application -> Save console output to file...

This file is overwritten on every rerun.

Want to know more?

Keep on reading and choose one of the related articles. You can also check the home page for my latest thoughts, notes and articles.