Skip to content

Unify the logging format when debugging is enabled #118

Closed

Description

@hectorj2f

When we enable the debug mode, it uses the logging format defined in the standardLogger (https://github.com/go-openapi/runtime/blob/master/middleware/context.go#L35). It'd be great to reuse the Logger defined when configuring the runtime.

Is it possible to unify the logger format when debug is enabled? Or I am missing something

Activity

  1. added a commit that references this issue on Dec 17, 2022
  2. fredbi commented on Dec 13, 2023

    @fredbi
    Member

    The runtime with an injectable Logger is for constructing a client.

    On the server side, logging is scattered among different components so it's more difficult.

  3. added a commit that references this issue on Dec 13, 2023
    a2dc915
  4. added a commit that references this issue on Dec 14, 2023
    9a714db
  5. added a commit that references this issue on Dec 17, 2023
    0d66801
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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