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

openshift-install: log debug output to file #689

Merged
merged 2 commits into from
Nov 20, 2018
Merged

openshift-install: log debug output to file #689

merged 2 commits into from
Nov 20, 2018

Commits on Nov 19, 2018

  1. vendor: update github.com/sirupsen/logrus

    1.2.0 or newer is required in order to get the "trace" log level.
    crawford committed Nov 19, 2018
    1 Configuration menu
    Copy the full SHA
    0600ff7 View commit details
    Browse the repository at this point in the history
  2. openshift-install: log debug output to file

    This changes the logging strategy so that it logs all output to a local
    file in addition to logging at the desired level to the console.
    Unfortunately, logrus doesn't have a facility for capturing all log
    entries (the hooks are only fired for entries which are at or below the
    specified level) so this disables the console output and sets up two
    hooks: one for the console and one for the local file.
    crawford committed Nov 19, 2018
    Configuration menu
    Copy the full SHA
    06c5fd3 View commit details
    Browse the repository at this point in the history