[ https://issues.apache.org/jira/browse/SUREFIRE-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus closed SUREFIRE-2183. ------------------------------------- Resolution: Invalid This is just not true. I can also no longer reproduce. Don't know what happened before. > AbstractSurefireLogger.getConsoleLogger().isDebugEnabled() returns false when > mvn is executed with "-X" > ------------------------------------------------------------------------------------------------------- > > Key: SUREFIRE-2183 > URL: https://issues.apache.org/jira/browse/SUREFIRE-2183 > Project: Maven Surefire > Issue Type: Improvement > Components: process forking > Affects Versions: 3.1.2 > Reporter: Konrad Windszus > Priority: Major > > Despite the fact that running {{mvn}} with option {{-X}} is supposed to turn > on all debug statements the logger returned by > https://github.com/apache/maven-surefire/blob/0998f10bb486f79f40d2d4262798b1f53a5ff286/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java#L888 > does still return {{false}} for {{isDebugEnabled()}}, therefore logging > statements like > https://github.com/apache/maven-surefire/blob/0998f10bb486f79f40d2d4262798b1f53a5ff286/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java#L1183 > are not emitted when {{-X}} or {{--debug}} are set. -- This message was sent by Atlassian Jira (v8.20.10#820010)