Maven fails when I try to show less log messages - Need I change more lines in logging settings? How can I see anything?

Viewed 92

According to How to change maven logging level to display only warning and errors? I had set simplelogger.properties in maven/conf/logging/ to:

org.slf4j.simpleLogger.defaultLogLevel=info
org.slf4j.simpleLogger.showDateTime=false
org.slf4j.simpleLogger.showThreadName=false
org.slf4j.simpleLogger.showLogName=false
org.slf4j.simpleLogger.logFile=System.out
org.slf4j.simpleLogger.levelInBrackets=true
org.slf4j.simpleLogger.log.Sisu=warn
org.slf4j.simpleLogger.warnLevelString=warn

And I run the Clean target.

It runs. Without WARNs, INFO only.

After that I am changing the single line in simplelogger.properties:

org.slf4j.simpleLogger.defaultLogLevel=warn

And rerun Clean. There should be no log messages and there aren't any. I am waiting a bit... and getting the red line:

Process terminated

If I run Package instead, I see some WARN log messages, and somewhere closer to the end, the whole buffer is erased and I am getting the same red line. Lone and red.

Used terminals: git-cmd.exe from git bash and the default cmd.exe

Delegating build/compile to maven turning on/off does not change anything.

Obviously, I need to change correspondingly some other properties in simplelogger.properties or some settings elsewhere. But which ones? I don't see anything except "Process terminated"

1 Answers

On the "run" window there is a parent node of the item "Process terminated". clicking on the parent node it shows back all those error output.

Related