IntelliJ has a built-in log reader, however to my knowledge it only works with files...
• instead of printing logs to stdout, print logs in a file
• in your run configuration, add the log file
• now when running your project, you get a bonus tab with the log file and you can select which log level you want to display
https://www.jetbrains.com/help/idea/setting-log-options.html