You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2023/06/21 19:06:00 UTC
[jira] [Created] (SUREFIRE-2183) AbstractSurefireLogger.getConsoleLogger().isDebugEnabled() returns false when mvn is executed with "-X"
Konrad Windszus created SUREFIRE-2183:
-----------------------------------------
Summary: 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
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)