Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Align ST Logger also with Maven logging format #133
In ST we use our own Logger that reflects the way of logging used in Surefire providers. In the original surefire providers, they are using their own implementations (based on the information if the execution is using a fork or not). But in any case, they log on stdout. This is also why I have implemented it using stdout and stderr.
The current state is fine in case of logging in the phase of provider execution - before/during/after test invocation. However, there is also Maven extension that logs much earlier and should reflect the way of logging that is used by Maven. For this, Maven provides injection of
Our Logger should reflect the phase when it is used and should use the correct way of logging.
Logging in the maven extension phase, either using
Different approaches to align ST Logger with Maven Logging as proposed by @MatousJobanek are:
Drawbacks of using the second approach in my opinion are: