Add debug level logging to cos_gpu_installer

Invoking the cos_gpu_installer clobbers the stdout with many low level
logs that included file details. This change adds behavior to control
log visibility on stdout using the "debug" flag.

BUG=b/164222148

Change-Id: I92a5cdea3dbbd67af8e26f932fdee2e851737cd0
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/20590
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
Reviewed-by: Ke Wu <mikewu@google.com>
Tested-by: Arnav Kansal <rnv@google.com>
5 files changed
tree: bf67d70631e91f1e327c698ab20a156908d9278d
  1. release/
  2. src/
  3. testing/
  4. BUILD.bazel
  5. cloudbuild.yaml
  6. CONTRIBUTING.md
  7. deps.bzl
  8. go.mod
  9. go.sum
  10. LICENSE
  11. README.md
  12. run_tests.sh
  13. WORKSPACE
README.md

Tools for Container-Optimized OS

This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.

See CONTRIBUTING.md for how to contribute.