mirror of https://github.com/databricks/cli.git
## Changes - Print warnings and errors by default. - Fix ErrAlreadyPrinted not to be logged at Error level. - Format log messages as "Warn: message" instead of "WARN" to make it more readable and in-line with the rest of the output. - Only print attributes (pid, mutator, etc) and time when the overall level is debug (so --debug output has not changed much). ## Tests - Existing acceptance tests show how warning messages appear in various test case. - Added new test for `--debug` output. - Add sort_lines.py helper to avoid dependency on 'sort' which is locale-sensitive. |
||
---|---|---|
.. | ||
json_flag.go | ||
json_flag_test.go | ||
log_file_flag.go | ||
log_file_flag_test.go | ||
log_level_flag.go | ||
log_level_flag_test.go | ||
output.go | ||
output_test.go | ||
progress_format.go | ||
progress_format_test.go |