René's URL Explorer Experiment


Title: chore: add bare-minimum logging support by JohnVillalovos · Pull Request #2204 · python-gitlab/python-gitlab · GitHub

Open Graph Title: chore: add bare-minimum logging support by JohnVillalovos · Pull Request #2204 · python-gitlab/python-gitlab

X Title: chore: add bare-minimum logging support by JohnVillalovos · Pull Request #2204 · python-gitlab/python-gitlab

Description: Follow the Python documentation guidelines for "Configuring Logging for a Library" [1] Which is adding these two lines: import logging logging.getLogger(name).addHandler(logging.NullHandler()) Setup a very basic usage of logging in gitlab/client.py By using the NullHandler it means that by default any log messages output will not be displayed. It is up to the client application to do a logging.basicConfig() call to get log messages to display. [1] https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library Related: #2080

Open Graph Description: Follow the Python documentation guidelines for "Configuring Logging for a Library" [1] Which is adding these two lines: import logging logging.getLogger(name).addHandler(logging.NullHandl...

X Description: Follow the Python documentation guidelines for "Configuring Logging for a Library" [1] Which is adding these two lines: import logging logging.getLogger(name).addHandler(logging.N...

Opengraph URL: https://github.com/python-gitlab/python-gitlab/pull/2204

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:445990e5-868a-b043-1915-743926c05c29
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idB75C:2AB445:33BED42:485A5AA:69711C04
html-safe-nonce9fea92b13f0ab99f2a247188af4cfaf774b38e2448805583313d723f9ec6f3b2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzVDOjJBQjQ0NTozM0JFRDQyOjQ4NUE1QUE6Njk3MTFDMDQiLCJ2aXNpdG9yX2lkIjoiNTE1NDU0MzMyOTY2NzM3OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6ab124c618ec361af758233117c8561af185c334dd6fad787ae6a74e45e775d3
hovercard-subject-tagpull_request:1012877364
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-gitlab/python-gitlab/pull/2204/checks
twitter:imagehttps://avatars.githubusercontent.com/u/578155?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/578155?s=400&v=4
og:image:altFollow the Python documentation guidelines for "Configuring Logging for a Library" [1] Which is adding these two lines: import logging logging.getLogger(name).addHandler(logging.NullHandl...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None73ca43ac10b0f114fadc2d2cf702bc0c6453174aa5f9dad3a1d131b428870c6d
turbo-cache-controlno-preview
go-importgithub.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git
octolytics-dimension-user_id28886265
octolytics-dimension-user_loginpython-gitlab
octolytics-dimension-repository_id8077625
octolytics-dimension-repository_nwopython-gitlab/python-gitlab
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id8077625
octolytics-dimension-repository_network_root_nwopython-gitlab/python-gitlab
turbo-body-classeslogged-out env-production page-responsive full-width full-width-p-0
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c16e50bde10edd19f5772e9b3804df6d7bf9bfe
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2204/checks#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fpull%2F2204%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fpull%2F2204%2Fchecks
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=python-gitlab%2Fpython-gitlab
Reloadhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2204/checks
Reloadhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2204/checks
Reloadhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2204/checks
python-gitlab https://patch-diff.githubusercontent.com/python-gitlab
python-gitlabhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Fork 675 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Star 2.4k https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Code https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab
Issues 26 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/issues
Pull requests 10 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulls
Discussions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions
Actions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions
Projects 0 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/security
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2204/checks
Insights https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulse
Code https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab
Issues https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/issues
Pull requests https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulls
Discussions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions
Actions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions
Projects https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/projects
Security https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/security
Insights https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fpython-gitlab%2Fpython-gitlab%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab%2Fissues%2Fnew%2Fchoose
JohnVillalovoshttps://patch-diff.githubusercontent.com/JohnVillalovos
mainhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/tree/main
jlvillal/logginghttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/tree/jlvillal/logging
Conversation 24 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2204
Commits 1 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2204/commits
Checks 2 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2204/checks
Files changed 4 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2204/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2204/checks
chore: add bare-minimum logging support https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2204/checks#top
Please reload this pagehttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2204/checks
codecov/patch https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2204/checks?check_run_id=55774527799
codecov/project https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pull/2204/checks?check_run_id=55774527135
View this Pull Request on Codecovhttps://app.codecov.io/gh/python-gitlab/python-gitlab/pull/2204?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=python-gitlab
7a8a862https://github.com/python-gitlab/python-gitlab/commit/7a8a86278543a1419d07dd022196e4cb3db12d31
Codecovhttps://app.codecov.io/gh/python-gitlab/python-gitlab/pull/2204?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=python-gitlab
7a8a862https://app.codecov.io/gh/python-gitlab/python-gitlab/commit/7a8a86278543a1419d07dd022196e4cb3db12d31?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=python-gitlab
b476afehttps://app.codecov.io/gh/python-gitlab/python-gitlab/commit/b476afe9928c6e844b86b56f9316ae1a1fe254f2?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=python-gitlab
Files with missing lineshttps://app.codecov.io/gh/python-gitlab/python-gitlab/pull/2204?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=python-gitlab
gitlab/__init__.pyhttps://app.codecov.io/gh/python-gitlab/python-gitlab/pull/2204?src=pr&el=tree&filepath=gitlab%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=python-gitlab#diff-Z2l0bGFiL19faW5pdF9fLnB5
gitlab/_logging.pyhttps://app.codecov.io/gh/python-gitlab/python-gitlab/pull/2204?src=pr&el=tree&filepath=gitlab%2F_logging.py&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=python-gitlab#diff-Z2l0bGFiL19sb2dnaW5nLnB5
gitlab/client.pyhttps://app.codecov.io/gh/python-gitlab/python-gitlab/pull/2204?src=pr&el=tree&filepath=gitlab%2Fclient.py&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=python-gitlab#diff-Z2l0bGFiL2NsaWVudC5weQ==
Test Analyticshttps://docs.codecov.com/docs/test-analytics
View more details on Codecov https://app.codecov.io/gh/python-gitlab/python-gitlab/pull/2204
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.