-
Notifications
You must be signed in to change notification settings - Fork 9
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
Logging & Import Updates #123
Merged
Merged
Conversation
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
Consistent use of relative module imports. Other minor cleanup.
* Only add filenames for active file based handlers. * Only `all` logger is active by default.
Codecov Report
@@ Coverage Diff @@
## develop #123 +/- ##
===========================================
- Coverage 69.9% 69.19% -0.71%
===========================================
Files 26 26
Lines 1904 1753 -151
Branches 274 234 -40
===========================================
- Hits 1331 1213 -118
+ Misses 509 482 -27
+ Partials 64 58 -6
Continue to review full report at Codecov.
|
* Small cleanup. * Restore some `warn` instead of log.
* README updates * Adding TOC to README
* Restoring tests with caplog. * `make_pretty_image` works for `fz` files.
* Fixing make_pretty_image for fz files
* Switching library to `loguru` for easier logs. * Disabled in `panoptes-utils` by default. * Logs in JSON to daily rotated file. Later can upload that file.
* More complete conda file. * Docker builds pip and pyyaml, then conda file, then requirements.txt. * Adding loguru dependency
* Better logger tests. * Suppress error removing handler from caplog for testing. Not sure why it appears.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
panoptes-utils
modules useloguru
for logging with it disabled by default. There are no settings changed from the default.get_root_logger
has been entirely revamped and simplified to useloguru
but with settings appropriate for use in POCS.Part of #90
Closes #89