Skip to content

Request: log messages to user/application logger #750

Closed

Description

@vladimir-v-diaz

Description of issue or feature request:

It would be nice if applications may pass in loggers to TUF so that update messages are logged there instead.

Current behavior:

Log message are directed to internal file handlers, or the console.

Requested behavior:

There should be an option to also log TUF's logger messages to application's logger.

Activity

  1. jku commented on Feb 17, 2022

    @jku
    Member

    I'm going to close this:

    • as far as I can tell the logging logger hierarchy gives the application full (if not always the most ergonomic) control
    • I think library modules should not make decisions on where to log: this is an application choice

    Please reopen if it sounds like I'm not considering a use case you have in mind.

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