Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
139700: roachprod: respect logger's config specified io.writers r=golgeek a=golgeek Previously, when NewLogger() was called with an empty path on a Config{} that specifies customs Stdout and Stderr, the logger was still logging to os.Stdout and os.Stderr unless the caller was directly using the exposed Stdout and Stderr writers. This change uniformizes makes the logger's internal functions `Printf`, and `Errorf` respect the specified configuration, similarly to when a file path is provided. Epic: none Release note: None Co-authored-by: Ludovic Leroux <[email protected]>
- Loading branch information