How do I plug in log4j framework for custom swagger codegen modules #11186
Unanswered
RohanPalkar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to create a custom codegenerator using swagger codegen framework in java, using
swagger-codegen 3.0.21
version. I see that it usesorg.sl4j-api/ext/simple version 1.7.12
. However, I need to uselog4j-api-2.10.0
to integrate it with my existing source code.I tried including
but I am not getting the log files generated. I am using lo4j2.json (a json based configuration file) and I am certain that it works directly with log4j2 as it is being used in my other projects.
How can I make this work ? I want to generate logging files from log4j framework.
Appreciate any response. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions