Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

[REQ] Feature bounty, add logback logging to the project #314

@spacether

Description

@spacether

Is your feature request related to a problem? Please describe.

Feature bounty, add logback logging to the project
/bounty $50

Describe the solution you'd like

  • Please file a PR adding add logback logging to the project
  • Use the existing lockback.xml file in the src/main/resources folder
  • Continue using slf4j to send logging lines
  • make sure that the slf4j SimpleLogger is not being used
  • the properties.version resource file must still be included and running the Version.java cli command that shows the version must still work
  • Verified by running this configuration: generate -g java -i src/test/resources/3_0/python/petstore_customized.yaml -o samples/client/petstore/java --additional-properties artifactId=petstore on class org.openapijsonschematools.codegen.OpenAPIGenerator the terminal output in intelij shall not show up as red

Note: the reason that I want this added is because running the program results in all of the logs showing up as red in intelij (because they are sent to System.err). Logback does a different better job and does not do that (or only does it for errors?)

Describe alternatives you've considered

The project that this is based on uses lockback also

  • redirecting the SimpleLogger's output to System.out is not preferred

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions