swagger-api / swagger-api/swagger-codegen

Simple question about increasing loglevel of codegen to exclude INFO and below.

Open
#9,513 5 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

How do I 'increase' log level to exclude informational messages. Trying to exclude:
[main] INFO io.swagger.codegen.AbstractGenerator - writing file...

Swagger-codegen version

2.4.1

Command line used for generation

swagger-codegen-cli.jar generate
new language

tia

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the swagger-codegen-cli.jar generate entry point and the io.swagger.codegen.AbstractGenerator message shown in the report. Check how this CLI configures logging for version 2.4.1 and whether INFO output can be excluded; done means the supported setting or limitation is documented with an example invocation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli, tooling
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.