-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg_install: modify log levels & print destdir by default. (#891)
After this change, log levels are defined by the following: * -q: only print errors (not even warnings) * (default): print errors, warnings, infos * -v: print above & also debug logs. There are no errors and warnings logs at this moment. The existing verbose logs about file operations are categorized as debug logs, so they are only printed when -v is set. By default (if no flag is set), the destdir is printed as an INFO level log. Also improve the logging format to be similar to bazel's output, e.g. INFO: Installing to /tmp/inst Fixes #889 Co-authored-by: HONG Yifan <[email protected]>
- Loading branch information
Showing
1 changed file
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters