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

Modifies CLI logging behavior for most typical expected use case #271

Merged
merged 4 commits into from
Apr 24, 2017
Merged

Modifies CLI logging behavior for most typical expected use case #271

merged 4 commits into from
Apr 24, 2017

Conversation

lorengordon
Copy link
Member

When called from the CLI, this patch enables debug logging and sets the log-dir to a platform-specific default location.

The CLI arguments have also been adjusted slightly to accommodate this change:

  • Uses -l|--log-level instead of -v|--verbose
  • -v and -V are now both used for --version
  • -d is now used for --log-dir

* Uses `-l|--log-level` instead of `-v|--verbose`
* `-v` and `-V` are now both used for `--version`
* `-d` is now used for `--log-dir`
@codecov
Copy link

codecov bot commented Apr 22, 2017

Codecov Report

Merging #271 into develop will decrease coverage by 0.04%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #271      +/-   ##
===========================================
- Coverage    18.17%   18.12%   -0.05%     
===========================================
  Files           13       13              
  Lines          820      822       +2     
  Branches        92       92              
===========================================
  Hits           149      149              
- Misses         670      672       +2     
  Partials         1        1
Impacted Files Coverage Δ
src/watchmaker/logger/__init__.py 0% <0%> (ø) ⬆️
src/watchmaker/cli.py 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6c9fe70...e0a2f0f. Read the comment docs.

@lorengordon lorengordon merged commit b55a696 into plus3it:develop Apr 24, 2017
@lorengordon lorengordon deleted the issue-270 branch April 24, 2017 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants