Skip to content

Add useful debug logging when reading schemas and creating classes - #1483

Merged
joelittlejohn merged 2 commits into
masterfrom
better-logging
Feb 15, 2023
Merged

joelittlejohn merged 2 commits into
masterfrom
better-logging

Conversation

@joelittlejohn

Copy link
Copy Markdown
Owner

Closes #863

@joelittlejohn joelittlejohn changed the title Add useful logging when reading schemas and creating classes Add useful debug logging when reading schemas and creating classes Feb 15, 2023
@joelittlejohn joelittlejohn added this to the 1.2.0 milestone Feb 15, 2023
@joelittlejohn
joelittlejohn merged commit 21eebc3 into master Feb 15, 2023
@joelittlejohn
joelittlejohn deleted the better-logging branch February 15, 2023 13:03
@joelittlejohn

Copy link
Copy Markdown
Owner Author

Note, in Maven if you want to enable debug logging for this plugin only, add a system property to configure the SimpleLogger, like this:

mvn -Dorg.slf4j.simpleLogger.log.org.jsonschema2pojo=debug test

This is useful for CI jobs where you want to see some output written to the log for debugging if the build fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Limited information in Maven logs

2 participants