Gabriel Tiberi
Gabriel Tiberi

Reputation: 19

How to hide console output from IntelliJ IDEA?

When opening a project in intelliJ from git bash (i.e using idea64 . inside my directory) git bash starts writing some console logging that I've never seen before and I found no way of disabling it. I am using Idea 2021.3.2 Ultimate and git bash v2.35.1

Here's a screenshot of the logging :

First screenshot

Second screenshot

Upvotes: 1

Views: 1099

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 401965

Copy IDEA_HOME\bin\log.xml into some location and add the following in idea.properties (Help | Edit Custom Properties):

idea.log.config.file=d:/some/folder/log.xml

Inside this log.xml file copy, delete all the console appenders:

<appender name="CONSOLE-ALL" ...
<appender name="CONSOLE-DEBUG" ...
<appender name="CONSOLE-WARN" ...

See also the related bug report.

Upvotes: 2

Related Questions