Repository navigation
Colab logging - #455
Merged
Merged
Colab logging#455
Conversation
gsaluja9
previously approved these changes
Jul 23, 2024
drewaogle
reviewed
Jul 24, 2024
Co-authored-by: Drew Ogle <[email protected]>
gsaluja9
self-requested a review
July 24, 2024 14:26
drewaogle
added a commit
that referenced
this pull request
Jul 25, 2024
* Colab logging (#455) * Trying setting log level to minumum * test * fix * Update aperturedb/__init__.py Co-authored-by: Drew Ogle <[email protected]> * fmt * Fix for Kaggle issue --------- Co-authored-by: Drew Ogle <[email protected]> * expand protobuf support to 4.x (#456) * expand protobuf support to 4.x * add shim file * try to make it performant * make queryMessage wrap ParseFromString * Version bump: 0.4.30 to 0.4.31 --------- Co-authored-by: bovlb <[email protected]> Co-authored-by: Drew Ogle <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or 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
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.
Google Colab sets up logging slightly differently from Jupyter. Specifically it creates a
<StreamHandler stderr (NOTSET)>handler on the root logger. This means that if a library (like ours) sets the logger level to DEBUG, then it gets printed, regardless of the level on the handlers we set up.With this change, we'll set the logger level to the minimum of the two handler levels if either is explicitly set.
This also includes a fix for an unrelated Kaggle problem. Kaggle/kaggle-cli#611