-
Notifications
You must be signed in to change notification settings - Fork 642
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
Log is not enabled if Dockerfile present. #1291
Comments
Thanks a for the report, it indeed looks strange. I can assure that there is no special treatment for logging within dmp. However, to reproduce the issue, could you please craft a full working pom.xml so that I can try and debug it locally ? Thanks ! |
@rhuss Apologies for the delay. https://gist.github.com/dpwrussell/229479428fd0907913fb088a030c0697 Essentially it comes down to the presence of a It will also behave as expected if you comment in the |
I.e. when enabled is a Boolean but not identical to Boolean.TRUE Fixes fabric8io#1291
Thanks a lot for your investigation. I could track the bug down to an erronous boolean check. The fix should be available in the next release which should be published very soon (probably still this week). |
Description
Under certain conditions, logging does not get correctly enabled. This is not a definitive list!
Basically if I run the following docker command, it logs to stdout as I would expect. It prints the npm version.
When I try the equivalent using the plugin, it does not get output with the rest of the Maven output despite logging being explicitly set to true.
If I add a color tag, it starts to correctly log:
If I build a docker image instead then simply start/stop it, it also starts to log correctly (even without the colour.
This seems very strange and I can only imagine that somehow logging is deactivated under certain conditions when it should not be.
Info
mvn -v
) : Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T20:00:29+01:00)The text was updated successfully, but these errors were encountered: