How to configure console log to recognize error/warn/info lines?

已回答

I'm running Tomcat from IntelliJ. The console incorrectly highlights too much as "error" (red color). I see in IntelliJ's preferences, under Editor > Color Scheme > Console Colors, that you can configure colors for Error, Warning, Info, etc. But where do you configure the patterns it uses to recognize these lines? I don't see it anywhere. I was expecting a list of regular expressions, or something like that, somewhere.

1

One of the way to change it is to use Grep Console plugin. See https://www.jetbrains.com/help/idea/managing-plugins.html on how to manage plugins in IntelliJ.

1

Then why is there a setting:
Editor → Color Schema → Console Colors → Log Console where one can set different log level colors, but it has no impact on terminal output?

0

The log console and the terminal console are different entities. Please upvote the feature request https://youtrack.jetbrains.com/issue/IDEA-191894 (allow to configure IntelliJ terminal like System Terminal).

0

请先登录再写评论。