Skip to content
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

pkg/promtail: propagate a logger rather than using util.Logger globally #2438

Merged
merged 2 commits into from
Jul 28, 2020

Commits on Jul 28, 2020

  1. pkg/promtail: propagate a logger rather than using util.Logger globally

    This commit allows for creating promtail with a custom log.Logger
    instance which will be propagated and used consistently throughout the
    Promtail package. This allows for clients to provide a Promtail-specific
    logger.
    
    Address a portion of grafana#2405.
    rfratto committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    2ae4149 View commit details
    Browse the repository at this point in the history
  2. remove applyOptions function

    rfratto committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    2db3605 View commit details
    Browse the repository at this point in the history