-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
logging to DEBUG the source of configuration values (whether from POM or sysenv) #88
logging to DEBUG the source of configuration values (whether from POM or sysenv) #88
Conversation
Please advise on how you would like to have it tested. Other than running |
For test you can use https://www.simplify4u.org/slf4j-mock/ and add simply assertions to existing tests |
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-simple</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If slf4j-simple
was present it got in the way - i.e. the logger for PGPKeyInfo got set to SimpleLogger
PTAL @slawekjaranowski |
src/main/java/org/simplify4u/plugins/sign/openpgp/PGPKeyInfo.java
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! |
@mccartney thanks |
@mccartney - if you wish you can add yourself to contributor list in pom.xml |
Solving #82.
i.e. logging to
DEBUG
level a simple information on where did a specific configuration property came from - either from POM or the system environment variable.