Anyone know how to STOP intellij from inserting EXTRA logs in console ?
turning logcat off did not work. report -> https://intellij-support.jetbrains.com/hc/en-us/requests/3481080
Basically, Intellij inserts a red line "Caused by: java.lang.NullPointerException: null" RIGHT IN THE MIDDLE of our stack trace where developers thought that the nullpointer was on the line right after that(it wasn't). Because of this 1 extra line, it screws up the readability of the entire stack trace.
We temporarily had to stop logging to stderr so we can ignore the damn intellij red lines. Previously, we log all warnings and error to stderr (which shows up in red which is great). Now that intellij is outputting it's own stuff, it gets very confusing.
请先登录再写评论。
Hi, I see that you have already created a related ticket: https://intellij-support.jetbrains.com/hc/en-us/requests/3481080
I have replied to you on that ticket. Could you please check the reply there and provide the needed info for investigating this issue? Thanks.
yup, and in the meantime, if anyone knows a workaround, I had to create an example project to repro the issue ->
https://github.com/deanhiller/intellijGradleLoggingBug
(I also linked that on the ticket). The program there is a simple single class to throw exception, catch and log in slf4j which works outside intellij but not inside intellij.