-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When enabling debug, schema validation produces too much output #40
Comments
Why is it unusable? This is caused by the logger |
Yes, we could use grep but the amount of redundant output is so huge that it should be trimmed. |
I'm not sure there is much we can do in this project. We could provide a patch to the project logging |
The log output can be reduced by adding the sys prop:
when maven is executed: However, I'm not sure if there is a way to generalise this other than editing the logger configuration used by Maven at ${MAVEN_HOME}/conf/logging/simplelogger.properties to append:
|
@jmesnil , should we document the option and keep this behavior? |
Context: Maven plugin
Enable debug with "-X" argument: mvn clean package -X
The console displays thousands of lines (channel content).
That is caused by :https://github.com/wildfly-extras/wildfly-channel/blob/main/core/src/main/java/org/wildfly/channel/ChannelMapper.java#L76
That calls: https://github.com/wildfly-extras/wildfly-channel/blob/main/core/src/main/java/org/wildfly/channel/ChannelMapper.java#L115
This makes debug output unusable.
The text was updated successfully, but these errors were encountered: