Skip to content

Request: log messages to user/application logger #750

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vladimir-v-diaz opened this issue Jun 15, 2018 · 1 comment
Closed

Request: log messages to user/application logger #750

vladimir-v-diaz opened this issue Jun 15, 2018 · 1 comment

Comments

@vladimir-v-diaz
Copy link
Contributor

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.

@jku
Copy link
Member

jku commented Feb 17, 2022

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.

@jku jku closed this as completed Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants