-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
change default logger to dedicated one #1064
Conversation
hey there, we have added GPU CI test, so could we kindly ask to rebase/merge master which will trigger these tests so we do not need to test it manually... Thx for your understanding 🤖 |
Done! |
Fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use absolute imports...
also not sure how it will interact if it is imported but basic level sett later, pls test...
Rebased & fixed |
Codecov Report
@@ Coverage Diff @@
## master #1064 +/- ##
=======================================
+ Coverage 89% 93% +4%
=======================================
Files 62 61 -1
Lines 3163 2671 -492
=======================================
- Hits 2809 2471 -338
+ Misses 354 200 -154 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, just a minor comment with imports and add note to CHANGELOG
also, could you check bit complains about doc even it is not related to your PR
About the docs, I didn't read into them carefully so I think I can make improvements after I'm more familiar with the framework |
Fix test Fix format Update pytorch_lightning/__init__.py Separate imports
Rebased |
Fix test Fix format Update pytorch_lightning/__init__.py Separate imports
Before submitting
What does this PR do?
Changed the default logger to
logging.getLogger("lightning")
as proposed here: #710 (comment)This modification won't make any difference to current users since the logging will propagate to root logger. However if the user want to distinguish the text log from pytorch-lightning from logs of other packages, they have an option now.