swagger-api / swagger-api/swagger-codegen
How to change logging level via command line param ?
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Is there a way to change logging level via command line param ?
I see that it's set to DEBUG in config. It's very verbose.
I tried to make a copy of this file and pass -Dlogback.configurationFile=./logback.xml but it didn't help.
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with modules/swagger-codegen/src/main/resources/logback.xml and the -Dlogback.configurationFile invocation described in the issue. Verify how the command-line launcher handles logging configuration, then document a working logging-level command-line option or clearly state that none is supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cli, tooling
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100