René's URL Explorer Experiment


Title: Python Logging Handlers: Types, Setup, and Best Practices | Toptal®

Open Graph Title: Python Logging: Handlers, Setup, and Best Practices | Toptal®

Description: Master Python logging with this guide to handlers, formats, levels, and strategies for multimodule and production-ready applications.

Open Graph Description: Optimize Python logging with best practices for multimodule apps.

Opengraph URL: https://www.toptal.com/developers/python/in-depth-python-logging

X: @toptal

direct link

Domain: www.toptal.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.toptal.com/#organization","name":"Toptal","url":"https://www.toptal.com/","logo":{"@type":"ImageObject","url":"https://www.toptal.com/toptal-logo.png","name":"Toptal Logo"},"sameAs":["https://twitter.com/toptal","https://www.linkedin.com/company/toptal","https://www.facebook.com/toptal","https://www.youtube.com/channel/UCNqm_euTHZz3o5OnKhUS-oA","https://en.wikipedia.org/wiki/Toptal","https://www.instagram.com/toptal"],"knowsAbout":"https://www.wikidata.org/wiki/Q580148","knowsLanguage":["https://www.wikidata.org/entity/Q1860","https://www.wikidata.org/wiki/Q1321"],"award":["Newsweek Ranks Toptal #1 Most Reliable Professional Services Company in America","Toptal CEO, Taso Du Val, has been named in The Wall Street Journal’s The World’s Most Influential Decision Makers list","Toptal Achieves Premier Tier Services Partner Status within the AWS Partner Network","Ardent Partners Named Toptal 2023 Digital Staffing Technology Advisor","Talent Award in 2022: Employer Brand Engagement","The Future of Work Exchange - Key Providers For 2022: Toptal","Toptal Achieves AWS Devops Competency","Toptal Ranks As Market Leader in Ardent Partners’ List of Leading Digital Staffing Marketplaces and Solutions"],"contactPoint":{"@type":"ContactPoint","telephone":"+1-888-867-7001","email":"support@toptal.com","contactType":"customer support","areaServed":"US","availableLanguage":["English"]},"address":{"@type":"PostalAddress","streetAddress":"2810 N. Church St #36879","addressLocality":"Wilmington","addressRegion":"DE","postalCode":"19802-4447","addressCountry":"US"},"description":"Toptal is an exclusive network of the top freelance developers, designers, management consultants, project managers, product managers, marketing experts, coaches, sales experts, and support and operations experts in the world. Top companies hire Toptal freelancers for their most important projects."},{"@type":"Person","name":"Camille Potard","url":"https://www.toptal.com/developers/resume/camille-potard","description":"Camille is a senior software developer who builds robust desktop and real-time systems for global clients including e-on software, Hitachi, and Alstom. Specializing in Python, C, and C++, he has delivered solutions for railway systems, power infrastructure, video and imaging, 3D software, and web platforms.","image":"https://bs-uploads.toptal.io/blackfish-uploads/talent/742567/picture/optimized/huge_5606409eb73df52962ac86c7fd5d5459-41f682008701c28803f91b0c264cb748.png","jobTitle":"Senior Software Developer","worksFor":{"@type":"Organization","@id":"https://www.toptal.com/#organization"},"@id":"https://www.toptal.com/developers/resume/camille-potard#person"},{"@type":"Article","headline":"Python Logging Handlers: A Deep Dive Into Types, Configuration, and Best Practices","image":"https://bs-uploads.toptal.io/blackfish-uploads/components/blog_post_page/4084052/cover_image/retina_500x200/unnamed-1237881558d89640f82e95fdbff649d3.png","datePublished":"2026-03-10T00:00:00-0400","dateModified":"2026-08-03T11:09:07-0400","author":{"@id":"https://www.toptal.com/developers/resume/camille-potard#person"},"publisher":{"@id":"https://www.toptal.com/#organization"},"@id":"https://www.toptal.com/developers/python/in-depth-python-logging#article"},{"@type":"WebPage","url":"https://www.toptal.com/developers/python/in-depth-python-logging","name":"Python Logging Handlers: A Deep Dive Into Types, Configuration, and Best Practices","description":"Python’s logging system goes far beyond basic message output. This guide explores handlers, structured logging, performance trade-offs, and real-world patterns for building production-ready logging pipelines.","mainEntity":{"@id":"https://www.toptal.com/developers/python/in-depth-python-logging#article"},"@id":"https://www.toptal.com/developers/python/in-depth-python-logging#webpage"},{"@type":"FAQPage","name":"Understanding the basics","mainEntity":[{"@type":"Question","name":"How do I configure Python logging for large applications?","acceptedAnswer":{"@type":"Answer","text":"Organize loggers in a hierarchical structure with centralized settings. Assign multiple handlers with defined levels and formats, and use propagation to maintain consistent logging across modules, including imported libraries, while allowing debug messages to be enabled selectively during development."}},{"@type":"Question","name":"What’s the difference between Python logging handlers?","acceptedAnswer":{"@type":"Answer","text":"Stream handlers write to consoles. File handlers persist logs locally. Rotating handlers manage log growth. Network handlers forward logs to centralized logging services. And queue handlers support nonblocking, multithreaded pipelines. Stream handlers can also act as fallback logging when external systems are unavailable."}},{"@type":"Question","name":"How can I structure logs for observability?","acceptedAnswer":{"@type":"Answer","text":"Combine structured logging, custom formatters, and JSON output to include essential metadata and context. Use LoggerAdapters or custom LogRecord factories to create enriched logs suitable for tracing and monitoring across distributed applications, while being mindful of backwards compatibility issues as log formats evolve."}},{"@type":"Question","name":"How do I avoid duplicate or missing log messages?","acceptedAnswer":{"@type":"Answer","text":"Attach handlers primarily to top-level loggers, control propagation, and set logger levels thoughtfully to ensure logs aren’t repeated or accidentally ignored."}},{"@type":"Question","name":"How should sensitive data be handled in logs?","acceptedAnswer":{"@type":"Answer","text":"Mask, encrypt, or omit PII to comply with GDPR/SOC2. Treat audit logs separately to record privileged access and system changes without exposing sensitive information in plaintext."}}],"@id":"https://www.toptal.com/developers/python/in-depth-python-logging#faqpage"}]}

theme-color#204ECF
og:imagehttps://bs-uploads.toptal.io/blackfish-uploads/components/open_graph_image/11660583/og_image/optimized/in-depth-python-logging-768d70de8fc53e808a87cd0dafcb02f3.png
twitter:cardsummary_large_image
og:site_nameToptal Engineering Blog
og:typearticle

Links:

#1 Most Reliable Professional Services Company in Americahttps://rankings.newsweek.com/americas-most-reliable-companies-2026
Skip to Navigationhttps://www.toptal.com/developers/python/in-depth-python-logging#nav
Skip to Contenthttps://www.toptal.com/developers/python/in-depth-python-logging#main
Skip to Articlehttps://www.toptal.com/developers/python/in-depth-python-logging#reading-progress-start
Skip to Footerhttps://www.toptal.com/developers/python/in-depth-python-logging#footer
Toptal emblemToptal brand logo®https://www.toptal.com/developers
Full-stack Developershttps://www.toptal.com/developers/full-stack
Front-end Developershttps://www.toptal.com/developers/front-end
Software Developershttps://www.toptal.com/developers/software
Web Developershttps://www.toptal.com/developers/web
Mobile App Developershttps://www.toptal.com/developers/app
AI Engineershttps://www.toptal.com/developers/artificial-intelligence
Android Developershttps://www.toptal.com/developers/android
AngularJS Developershttps://www.toptal.com/developers/angular-js
Django Developershttps://www.toptal.com/developers/django
Drupal Developershttps://www.toptal.com/developers/drupal
Game Developershttps://www.toptal.com/developers/game
Hadoop Developershttps://www.toptal.com/developers/hadoop
iOS Developershttps://www.toptal.com/developers/ios
Java Developershttps://www.toptal.com/developers/java
JavaScript Developershttps://www.toptal.com/developers/javascript
Kubernetes Developershttps://www.toptal.com/developers/kubernetes
Magento Developershttps://www.toptal.com/developers/magento
Node.js Developershttps://www.toptal.com/developers/nodejs
PHP Developershttps://www.toptal.com/developers/php
PostgreSQL Developershttps://www.toptal.com/developers/postgresql
Python Developershttps://www.toptal.com/developers/python
React.js Developershttps://www.toptal.com/developers/react
Ruby on Rails Developershttps://www.toptal.com/developers/ruby-on-rails
Salesforce Developershttps://www.toptal.com/developers/salesforce
Scala Developershttps://www.toptal.com/developers/scala
Unity Developershttps://www.toptal.com/developers/unity
WordPress Developershttps://www.toptal.com/developers/wordpress
See more skillshttps://www.toptal.com/developers
UX Designershttps://www.toptal.com/designers/ux
UI Designershttps://www.toptal.com/designers/ui
Web Designershttps://www.toptal.com/designers/web
Mobile App Designershttps://www.toptal.com/designers/mobile
Graphic Designershttps://www.toptal.com/designers/graphic
Brand Designershttps://www.toptal.com/designers/brand
UX Strategistshttps://www.toptal.com/designers/ux-strategist
3D Animatorshttps://www.toptal.com/designers/3d-animators
Adobe After Effects Designershttps://www.toptal.com/designers/after-effects
Adobe Illustrator Expertshttps://www.toptal.com/designers/adobe-illustrator
Creative Directorshttps://www.toptal.com/designers/creative-direction
Data Visualization Designershttps://www.toptal.com/designers/data-visualization
E-commerce Designershttps://www.toptal.com/designers/e-commerce
Illustratorshttps://www.toptal.com/designers/illustration
Landing Page Designershttps://www.toptal.com/designers/landing-page
Logo Designershttps://www.toptal.com/designers/logo
Mobile UX Designershttps://www.toptal.com/designers/mobile-ux
Photoshop Expertshttps://www.toptal.com/designers/photoshop
Presentation Designershttps://www.toptal.com/designers/presentation-design
Product Designershttps://www.toptal.com/designers/product-design
SaaS Designershttps://www.toptal.com/designers/saas
Shopify Designershttps://www.toptal.com/designers/shopify
UX Researchershttps://www.toptal.com/designers/ux-research
Webflow Designershttps://www.toptal.com/designers/webflow
See more skillshttps://www.toptal.com/designers
Fractional Chief Marketing Officers (CMOs)https://www.toptal.com/marketing/fractional-cmos
SEO Expertshttps://www.toptal.com/marketing/seo
Campaign Managershttps://www.toptal.com/marketing/campaign-managers
Social Media Marketershttps://www.toptal.com/marketing/social-media
Event Marketershttps://www.toptal.com/marketing/event
Affiliate Marketershttps://www.toptal.com/marketing/affiliate
B2B Marketing Strategistshttps://www.toptal.com/marketing/b2b-strategists
Brand Managershttps://www.toptal.com/marketing/brand-managers
Community Managershttps://www.toptal.com/marketing/community-managers
Content Managershttps://www.toptal.com/marketing/content-managers
Copy Editorshttps://www.toptal.com/marketing/copy-editors
Copywritershttps://www.toptal.com/marketing/copywriters
Digital Marketershttps://www.toptal.com/marketing/digital
Email Marketershttps://www.toptal.com/marketing/email-marketing
Facebook Ads Expertshttps://www.toptal.com/marketing/facebook-ads
Google Ads Expertshttps://www.toptal.com/marketing/google-ads
Google Search Console Expertshttps://www.toptal.com/marketing/google-search-console
Google Tag Manager (GTM) Expertshttps://www.toptal.com/marketing/google-tag-manager
Local SEO Expertshttps://www.toptal.com/marketing/local-seo
On-page SEO Expertshttps://www.toptal.com/marketing/on-page-seo-optimization
PPC Expertshttps://www.toptal.com/marketing/ppc-advertising
SEO Copywritershttps://www.toptal.com/marketing/seo-copywriters
Social Media Content Creatorshttps://www.toptal.com/marketing/social-media-content-creators
Social Media Managershttps://www.toptal.com/marketing/social-media-managers
Writershttps://www.toptal.com/marketing/writers
YouTube Marketershttps://www.toptal.com/marketing/youtube
See more skillshttps://www.toptal.com/marketing
Finance Expertshttps://www.toptal.com/management-consultants/finance
Startup Funding Consultantshttps://www.toptal.com/management-consultants/startup-funding-consultants
Business Plan Writershttps://www.toptal.com/management-consultants/business-plan-writers
Cash Flow Consultantshttps://www.toptal.com/management-consultants/cash-flow-consultants
CFO Consultantshttps://www.toptal.com/management-consultants/cfo-consultants
Corporate Finance Consultantshttps://www.toptal.com/management-consultants/corporate-finance-consultants
Crowdfunding Consultantshttps://www.toptal.com/management-consultants/crowdfunding-consultants
Excel Expertshttps://www.toptal.com/management-consultants/excel-experts
Financial Forecasting Consultantshttps://www.toptal.com/management-consultants/financial-forecasting
Financial Modelershttps://www.toptal.com/management-consultants/financial-modelers
Fintech Consultantshttps://www.toptal.com/management-consultants/fintech
FP&A Consultantshttps://www.toptal.com/management-consultants/financial-planning-and-analysis
Fractional CFOshttps://www.toptal.com/management-consultants/fractional-cfo
Fractional COOshttps://www.toptal.com/management-consultants/fractional-coo
Fundraising Consultantshttps://www.toptal.com/management-consultants/fundraising
Hedge Fund Consultantshttps://www.toptal.com/management-consultants/hedge-fund-consultants
Interim CFOshttps://www.toptal.com/management-consultants/interim-cfos
Investment Bankershttps://www.toptal.com/management-consultants/investment-bankers
M&A Consultantshttps://www.toptal.com/management-consultants/mergers-and-acquisitions
Market Research Analystshttps://www.toptal.com/management-consultants/market-research-analysts
Part-time CFOshttps://www.toptal.com/management-consultants/part-time-cfos
Pitch Deck Consultantshttps://www.toptal.com/management-consultants/pitch-deck-consultants
Post-merger Integration Consultantshttps://www.toptal.com/management-consultants/post-merger-integration
Startup Consultantshttps://www.toptal.com/management-consultants/startup-consultants
Stock Market Expertshttps://www.toptal.com/management-consultants/stock-market-experts
Venture Capital Consultantshttps://www.toptal.com/management-consultants/venture-capital-consultants
Virtual CFOshttps://www.toptal.com/management-consultants/virtual-cfo
See more skillshttps://www.toptal.com/management-consultants
Web Project Managershttps://www.toptal.com/project-managers/web
Mobile Project Managershttps://www.toptal.com/project-managers/mobile
Solutions Architectshttps://www.toptal.com/project-managers/solutions-architect
Project Management Consultantshttps://www.toptal.com/project-managers/project-management-consultant
Agile Coacheshttps://www.toptal.com/project-managers/agile-coaching
Agile Consultantshttps://www.toptal.com/project-managers/agile-consultants
Asana Expertshttps://www.toptal.com/project-managers/asana
Digital Transformation Expertshttps://www.toptal.com/project-managers/digital-transformation-experts
E-commerce Project Managershttps://www.toptal.com/project-managers/ecommerce
IT Professionalshttps://www.toptal.com/project-managers/it-professionals
ITIL Certified Service Delivery Managershttps://www.toptal.com/project-managers/itil-certified-service-delivery-manager
Jira Expertshttps://www.toptal.com/project-managers/jira
Monday.com Expertshttps://www.toptal.com/project-managers/monday
PMP Project Managershttps://www.toptal.com/project-managers/pmp
Process Design Consultantshttps://www.toptal.com/project-managers/process-design-consultant
Program Delivery Managershttps://www.toptal.com/project-managers/program-delivery-manager
Scrum Project Managershttps://www.toptal.com/project-managers/scrum
Wrike Project Managershttps://www.toptal.com/project-managers/wrike-pm
See more skillshttps://www.toptal.com/project-managers
Digital Product Managershttps://www.toptal.com/product-managers/digital
App Product Managershttps://www.toptal.com/product-managers/app
Business Analystshttps://www.toptal.com/product-managers/business-analyst
Contract Product Managershttps://www.toptal.com/product-managers/contract
Data Product Managershttps://www.toptal.com/product-managers/data
E-commerce Product Managershttps://www.toptal.com/product-managers/ecommerce
Finance Product Managershttps://www.toptal.com/product-managers/finance-product-managers
Ideation Consultantshttps://www.toptal.com/product-managers/ideation
Interim CPOshttps://www.toptal.com/product-managers/interim-cpo
IoT Product Managershttps://www.toptal.com/product-managers/iot
Outsourced Product Management Professionalshttps://www.toptal.com/product-managers/outsourced-product-management
Product Consultantshttps://www.toptal.com/product-managers/product-consultant
Product Ideation Consultantshttps://www.toptal.com/product-managers/product-ideation-consultants
Product Management Consultantshttps://www.toptal.com/product-managers/product-management-consultant
Remote Product Managershttps://www.toptal.com/product-managers/remote
Scrum Product Owner Contractorshttps://www.toptal.com/product-managers/scrum-product-owner-contractor
See more skillshttps://www.toptal.com/product-managers
Sales Consultantshttps://www.toptal.com/sales/sales-consultants
Sales Managershttps://www.toptal.com/sales/sales-managers
Lead Generation Expertshttps://www.toptal.com/sales/lead-generation-experts
SDRshttps://www.toptal.com/sales/sales-development-representatives
Account Managershttps://www.toptal.com/sales/account-managers
BDRshttps://www.toptal.com/sales/business-development-representatives
Business Development Managershttps://www.toptal.com/sales/business-development-managers
ClickFunnels Expertshttps://www.toptal.com/sales/clickfunnels
Customer Success Managershttps://www.toptal.com/sales/customer-success-managers
Sales Funnel Strategistshttps://www.toptal.com/sales/sales-funnel
Sales Repshttps://www.toptal.com/sales
See more skillshttps://www.toptal.com/sales
Hire a Teamhttps://www.toptal.com/teams
Artificial Intelligencehttps://www.toptal.com/services/technology-services/artificial-intelligence
Data Analyticshttps://www.toptal.com/services/technology-services/data-analytics
Cloud Serviceshttps://www.toptal.com/services/technology-services/cloud-services
Information Securityhttps://www.toptal.com/services/technology-services/information-security-services
Apps and Integrationshttps://www.toptal.com/services/technology-services/apps-and-integrations
Custom Software Developmenthttps://www.toptal.com/services/technology-services/custom-software-development
See more serviceshttps://www.toptal.com/services/technology-services
Digital Marketinghttps://www.toptal.com/services/marketing-agency/digital-marketing
Growth Marketinghttps://www.toptal.com/services/marketing-agency/growth-marketing
Marketing Strategy and Operationshttps://www.toptal.com/services/marketing-agency/marketing-strategy-and-operations
Brand Marketinghttps://www.toptal.com/services/marketing-agency/brand-marketing
Product Marketinghttps://www.toptal.com/services/marketing-agency/product-marketing
Creative and Content Marketinghttps://www.toptal.com/services/marketing-agency/creative-and-content-marketing
Sales and Revenue Operationshttps://www.toptal.com/services/marketing-agency/sales-revenue-operations-services
See more serviceshttps://www.toptal.com/services/marketing-agency
Strategy Consultinghttps://www.toptal.com/services/management-consulting/strategy-consulting
People Consultinghttps://www.toptal.com/services/management-consulting/people-consulting
Finance Consultinghttps://www.toptal.com/services/management-consulting/finance-consulting
Operations Consultinghttps://www.toptal.com/services/management-consulting/operations-consulting
See more serviceshttps://www.toptal.com/services/management-consulting
Clientshttps://www.toptal.com/clients
Bloghttps://www.toptal.com/blog
About Ushttps://www.toptal.com/about
Hire a Developerhttps://www.toptal.com/hire?interested_in=developers
Log Inhttps://www.toptal.com/users/login
Toptal emblemToptal brand logo®Developershttps://www.toptal.com/developers
Full-stack Developershttps://www.toptal.com/developers/full-stack
Front-end Developershttps://www.toptal.com/developers/front-end
Software Developershttps://www.toptal.com/developers/software
Web Developershttps://www.toptal.com/developers/web
Mobile App Developershttps://www.toptal.com/developers/app
AI Engineershttps://www.toptal.com/developers/artificial-intelligence
Android Developershttps://www.toptal.com/developers/android
AngularJS Developershttps://www.toptal.com/developers/angular-js
Django Developershttps://www.toptal.com/developers/django
Drupal Developershttps://www.toptal.com/developers/drupal
Game Developershttps://www.toptal.com/developers/game
Hadoop Developershttps://www.toptal.com/developers/hadoop
iOS Developershttps://www.toptal.com/developers/ios
Java Developershttps://www.toptal.com/developers/java
JavaScript Developershttps://www.toptal.com/developers/javascript
Kubernetes Developershttps://www.toptal.com/developers/kubernetes
Magento Developershttps://www.toptal.com/developers/magento
Node.js Developershttps://www.toptal.com/developers/nodejs
PHP Developershttps://www.toptal.com/developers/php
PostgreSQL Developershttps://www.toptal.com/developers/postgresql
Python Developershttps://www.toptal.com/developers/python
React.js Developershttps://www.toptal.com/developers/react
Ruby on Rails Developershttps://www.toptal.com/developers/ruby-on-rails
Salesforce Developershttps://www.toptal.com/developers/salesforce
Scala Developershttps://www.toptal.com/developers/scala
Unity Developershttps://www.toptal.com/developers/unity
WordPress Developershttps://www.toptal.com/developers/wordpress
See more skillshttps://www.toptal.com/developers
UX Designershttps://www.toptal.com/designers/ux
UI Designershttps://www.toptal.com/designers/ui
Web Designershttps://www.toptal.com/designers/web
Mobile App Designershttps://www.toptal.com/designers/mobile
Graphic Designershttps://www.toptal.com/designers/graphic
Brand Designershttps://www.toptal.com/designers/brand
UX Strategistshttps://www.toptal.com/designers/ux-strategist
3D Animatorshttps://www.toptal.com/designers/3d-animators
Adobe After Effects Designershttps://www.toptal.com/designers/after-effects
Adobe Illustrator Expertshttps://www.toptal.com/designers/adobe-illustrator
Creative Directorshttps://www.toptal.com/designers/creative-direction
Data Visualization Designershttps://www.toptal.com/designers/data-visualization
E-commerce Designershttps://www.toptal.com/designers/e-commerce
Illustratorshttps://www.toptal.com/designers/illustration
Landing Page Designershttps://www.toptal.com/designers/landing-page
Logo Designershttps://www.toptal.com/designers/logo
Mobile UX Designershttps://www.toptal.com/designers/mobile-ux
Photoshop Expertshttps://www.toptal.com/designers/photoshop
Presentation Designershttps://www.toptal.com/designers/presentation-design
Product Designershttps://www.toptal.com/designers/product-design
SaaS Designershttps://www.toptal.com/designers/saas
Shopify Designershttps://www.toptal.com/designers/shopify
UX Researchershttps://www.toptal.com/designers/ux-research
Webflow Designershttps://www.toptal.com/designers/webflow
See more skillshttps://www.toptal.com/designers
Fractional Chief Marketing Officers (CMOs)https://www.toptal.com/marketing/fractional-cmos
SEO Expertshttps://www.toptal.com/marketing/seo
Campaign Managershttps://www.toptal.com/marketing/campaign-managers
Social Media Marketershttps://www.toptal.com/marketing/social-media
Event Marketershttps://www.toptal.com/marketing/event
Affiliate Marketershttps://www.toptal.com/marketing/affiliate
B2B Marketing Strategistshttps://www.toptal.com/marketing/b2b-strategists
Brand Managershttps://www.toptal.com/marketing/brand-managers
Community Managershttps://www.toptal.com/marketing/community-managers
Content Managershttps://www.toptal.com/marketing/content-managers
Copy Editorshttps://www.toptal.com/marketing/copy-editors
Copywritershttps://www.toptal.com/marketing/copywriters
Digital Marketershttps://www.toptal.com/marketing/digital
Email Marketershttps://www.toptal.com/marketing/email-marketing
Facebook Ads Expertshttps://www.toptal.com/marketing/facebook-ads
Google Ads Expertshttps://www.toptal.com/marketing/google-ads
Google Search Console Expertshttps://www.toptal.com/marketing/google-search-console
Google Tag Manager (GTM) Expertshttps://www.toptal.com/marketing/google-tag-manager
Local SEO Expertshttps://www.toptal.com/marketing/local-seo
On-page SEO Expertshttps://www.toptal.com/marketing/on-page-seo-optimization
PPC Expertshttps://www.toptal.com/marketing/ppc-advertising
SEO Copywritershttps://www.toptal.com/marketing/seo-copywriters
Social Media Content Creatorshttps://www.toptal.com/marketing/social-media-content-creators
Social Media Managershttps://www.toptal.com/marketing/social-media-managers
Writershttps://www.toptal.com/marketing/writers
YouTube Marketershttps://www.toptal.com/marketing/youtube
See more skillshttps://www.toptal.com/marketing
Finance Expertshttps://www.toptal.com/management-consultants/finance
Startup Funding Consultantshttps://www.toptal.com/management-consultants/startup-funding-consultants
Business Plan Writershttps://www.toptal.com/management-consultants/business-plan-writers
Cash Flow Consultantshttps://www.toptal.com/management-consultants/cash-flow-consultants
CFO Consultantshttps://www.toptal.com/management-consultants/cfo-consultants
Corporate Finance Consultantshttps://www.toptal.com/management-consultants/corporate-finance-consultants
Crowdfunding Consultantshttps://www.toptal.com/management-consultants/crowdfunding-consultants
Excel Expertshttps://www.toptal.com/management-consultants/excel-experts
Financial Forecasting Consultantshttps://www.toptal.com/management-consultants/financial-forecasting
Financial Modelershttps://www.toptal.com/management-consultants/financial-modelers
Fintech Consultantshttps://www.toptal.com/management-consultants/fintech
FP&A Consultantshttps://www.toptal.com/management-consultants/financial-planning-and-analysis
Fractional CFOshttps://www.toptal.com/management-consultants/fractional-cfo
Fractional COOshttps://www.toptal.com/management-consultants/fractional-coo
Fundraising Consultantshttps://www.toptal.com/management-consultants/fundraising
Hedge Fund Consultantshttps://www.toptal.com/management-consultants/hedge-fund-consultants
Interim CFOshttps://www.toptal.com/management-consultants/interim-cfos
Investment Bankershttps://www.toptal.com/management-consultants/investment-bankers
M&A Consultantshttps://www.toptal.com/management-consultants/mergers-and-acquisitions
Market Research Analystshttps://www.toptal.com/management-consultants/market-research-analysts
Part-time CFOshttps://www.toptal.com/management-consultants/part-time-cfos
Pitch Deck Consultantshttps://www.toptal.com/management-consultants/pitch-deck-consultants
Post-merger Integration Consultantshttps://www.toptal.com/management-consultants/post-merger-integration
Startup Consultantshttps://www.toptal.com/management-consultants/startup-consultants
Stock Market Expertshttps://www.toptal.com/management-consultants/stock-market-experts
Venture Capital Consultantshttps://www.toptal.com/management-consultants/venture-capital-consultants
Virtual CFOshttps://www.toptal.com/management-consultants/virtual-cfo
See more skillshttps://www.toptal.com/management-consultants
Web Project Managershttps://www.toptal.com/project-managers/web
Mobile Project Managershttps://www.toptal.com/project-managers/mobile
Solutions Architectshttps://www.toptal.com/project-managers/solutions-architect
Project Management Consultantshttps://www.toptal.com/project-managers/project-management-consultant
Agile Coacheshttps://www.toptal.com/project-managers/agile-coaching
Agile Consultantshttps://www.toptal.com/project-managers/agile-consultants
Asana Expertshttps://www.toptal.com/project-managers/asana
Digital Transformation Expertshttps://www.toptal.com/project-managers/digital-transformation-experts
E-commerce Project Managershttps://www.toptal.com/project-managers/ecommerce
IT Professionalshttps://www.toptal.com/project-managers/it-professionals
ITIL Certified Service Delivery Managershttps://www.toptal.com/project-managers/itil-certified-service-delivery-manager
Jira Expertshttps://www.toptal.com/project-managers/jira
Monday.com Expertshttps://www.toptal.com/project-managers/monday
PMP Project Managershttps://www.toptal.com/project-managers/pmp
Process Design Consultantshttps://www.toptal.com/project-managers/process-design-consultant
Program Delivery Managershttps://www.toptal.com/project-managers/program-delivery-manager
Scrum Project Managershttps://www.toptal.com/project-managers/scrum
Wrike Project Managershttps://www.toptal.com/project-managers/wrike-pm
See more skillshttps://www.toptal.com/project-managers
Digital Product Managershttps://www.toptal.com/product-managers/digital
App Product Managershttps://www.toptal.com/product-managers/app
Business Analystshttps://www.toptal.com/product-managers/business-analyst
Contract Product Managershttps://www.toptal.com/product-managers/contract
Data Product Managershttps://www.toptal.com/product-managers/data
E-commerce Product Managershttps://www.toptal.com/product-managers/ecommerce
Finance Product Managershttps://www.toptal.com/product-managers/finance-product-managers
Ideation Consultantshttps://www.toptal.com/product-managers/ideation
Interim CPOshttps://www.toptal.com/product-managers/interim-cpo
IoT Product Managershttps://www.toptal.com/product-managers/iot
Outsourced Product Management Professionalshttps://www.toptal.com/product-managers/outsourced-product-management
Product Consultantshttps://www.toptal.com/product-managers/product-consultant
Product Ideation Consultantshttps://www.toptal.com/product-managers/product-ideation-consultants
Product Management Consultantshttps://www.toptal.com/product-managers/product-management-consultant
Remote Product Managershttps://www.toptal.com/product-managers/remote
Scrum Product Owner Contractorshttps://www.toptal.com/product-managers/scrum-product-owner-contractor
See more skillshttps://www.toptal.com/product-managers
Sales Consultantshttps://www.toptal.com/sales/sales-consultants
Sales Managershttps://www.toptal.com/sales/sales-managers
Lead Generation Expertshttps://www.toptal.com/sales/lead-generation-experts
SDRshttps://www.toptal.com/sales/sales-development-representatives
Account Managershttps://www.toptal.com/sales/account-managers
BDRshttps://www.toptal.com/sales/business-development-representatives
Business Development Managershttps://www.toptal.com/sales/business-development-managers
ClickFunnels Expertshttps://www.toptal.com/sales/clickfunnels
Customer Success Managershttps://www.toptal.com/sales/customer-success-managers
Sales Funnel Strategistshttps://www.toptal.com/sales/sales-funnel
Sales Repshttps://www.toptal.com/sales
See more skillshttps://www.toptal.com/sales
Hire a Teamhttps://www.toptal.com/teams
Artificial Intelligencehttps://www.toptal.com/services/technology-services/artificial-intelligence
Data Analyticshttps://www.toptal.com/services/technology-services/data-analytics
Cloud Serviceshttps://www.toptal.com/services/technology-services/cloud-services
Information Securityhttps://www.toptal.com/services/technology-services/information-security-services
Apps and Integrationshttps://www.toptal.com/services/technology-services/apps-and-integrations
Custom Software Developmenthttps://www.toptal.com/services/technology-services/custom-software-development
See more serviceshttps://www.toptal.com/services/technology-services
Digital Marketinghttps://www.toptal.com/services/marketing-agency/digital-marketing
Growth Marketinghttps://www.toptal.com/services/marketing-agency/growth-marketing
Marketing Strategy and Operationshttps://www.toptal.com/services/marketing-agency/marketing-strategy-and-operations
Brand Marketinghttps://www.toptal.com/services/marketing-agency/brand-marketing
Product Marketinghttps://www.toptal.com/services/marketing-agency/product-marketing
Creative and Content Marketinghttps://www.toptal.com/services/marketing-agency/creative-and-content-marketing
Sales and Revenue Operationshttps://www.toptal.com/services/marketing-agency/sales-revenue-operations-services
See more serviceshttps://www.toptal.com/services/marketing-agency
Strategy Consultinghttps://www.toptal.com/services/management-consulting/strategy-consulting
People Consultinghttps://www.toptal.com/services/management-consulting/people-consulting
Finance Consultinghttps://www.toptal.com/services/management-consulting/finance-consulting
Operations Consultinghttps://www.toptal.com/services/management-consulting/operations-consulting
See more serviceshttps://www.toptal.com/services/management-consulting
Clientshttps://www.toptal.com/clients
Bloghttps://www.toptal.com/blog
About Ushttps://www.toptal.com/about
Hire a Developerhttps://www.toptal.com/hire?interested_in=developers
Log Inhttps://www.toptal.com/users/login
Python Developershttps://www.toptal.com/developers/python
SQL Developershttps://www.toptal.com/developers/sql
Machine Learning Engineershttps://www.toptal.com/developers/machine-learning
PostgreSQL Developershttps://www.toptal.com/developers/postgresql
MySQL Developershttps://www.toptal.com/developers/mysql
JavaScript Developershttps://www.toptal.com/developers/javascript
Java Developershttps://www.toptal.com/developers/java
Django Developershttps://www.toptal.com/developers/django
Engineeringhttps://www.toptal.com/developers/blog
Designhttps://www.toptal.com/designers/blog
Management Consultinghttps://www.toptal.com/management-consultants/blog
Projectshttps://www.toptal.com/project-managers/blog
Producthttps://www.toptal.com/product-managers/blog
Marketinghttps://www.toptal.com/marketing/blog
Toptal Insightshttps://www.toptal.com/insights
Executive Guidancehttps://www.toptal.com/executive-guidance
Back-endhttps://www.toptal.com/developers/blog/back-end
https://www.toptal.com/developers/resume/camille-potard
Camille Potardhttps://www.toptal.com/developers/resume/camille-potard
Pythonhttps://www.toptal.com/developers/python
Chttps://www.toptal.com/developers/c
C++https://www.toptal.com/developers/c-plus-plus
https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.toptal.com%2Fdevelopers%2Fpython%2Fin-depth-python-logging&title=Python%20Logging%20Handlers%3A%20Types%2C%20Setup%2C%20and%20Best%20Practices
https://twitter.com/intent/tweet?url=https%3A%2F%2Fwww.toptal.com%2Fdevelopers%2Fpython%2Fin-depth-python-logging&text=Python%20Logging%20Handlers%3A%20Types%2C%20Setup%2C%20and%20Best%20Practices
https://www.facebook.com/sharer.php?u=https%3A%2F%2Fwww.toptal.com%2Fdevelopers%2Fpython%2Fin-depth-python-logging&t=Python%20Logging%20Handlers%3A%20Types%2C%20Setup%2C%20and%20Best%20Practices
Python’s built-in logging systemhttps://docs.python.org/3/library/logging.html
https://bs-uploads.toptal.io/blackfish-uploads/public_files/unnamed-bc68673260d0db972bf0ee3b9a74eb58.png
common mistakehttps://www.toptal.com/developers/python/top-10-mistakes-that-python-programmers-make
Kuberneteshttps://kubernetes.io/
Dockerhttps://www.docker.com/
structloghttps://www.structlog.org/en/stable/
Loguruhttps://loguru.readthedocs.io/en/stable/
https://bs-uploads.toptal.io/blackfish-uploads/public_files/unnamed-2ba08ee262e5ee7e8f9823f27253a4ae.png
Fluentd instanceshttps://www.fluentd.org/architecture
Logstashhttps://www.elastic.co/logstash
Elasticsearchhttps://www.elastic.co/elasticsearch
Datadoghttps://www.datadoghq.com/
Grafana Lokihttps://grafana.com/oss/loki/
ELK (Elasticsearch, Kibana, and Logstash) stackhttps://www.elastic.co/elastic-stack
Better Stackhttp://betterstack.com
Sentryhttps://sentry.io/welcome/
Raygunhttps://raygun.com/
Airbrakehttps://www.airbrake.io/
General Data Protection Regulation https://gdpr-info.eu/
Service Organization Control 2https://www.imperva.com/learn/data-security/soc-2-compliance/
caploghttps://docs.pytest.org/en/stable/how-to/logging.html
ELK to AWS: Managing Logs With Less Hasslehttps://www.toptal.com/developers/aws/aws-elk-stack
Introduction to Python Microservices With Namekohttps://www.toptal.com/developers/python/introduction-python-microservices-nameko
Orchestrating a Background Job Workflow in Celery for Pythonhttps://www.toptal.com/developers/python/orchestrating-celery-python-background-jobs
Hire Nowhttps://www.toptal.com/hire?interested_in=developers
https://www.toptal.com/developers/resume/camille-potard
Camille Potardhttps://www.toptal.com/developers/resume/camille-potard
Pythonhttps://www.toptal.com/developers/python
Chttps://www.toptal.com/developers/c
C++https://www.toptal.com/developers/c-plus-plus
Hire Camillehttps://www.toptal.com/hire?interested_in=developers&talent_full_name=Camille+Potard&talent_slug=camille-potard
privacy policyhttps://www.toptal.com/privacy
Engineeringhttps://www.toptal.com/developers/blog
Back-endhttps://www.toptal.com/developers/blog/back-end
Laravel API Tutorial: Creating and Testing a RESTful APIhttps://www.toptal.com/developers/laravel/restful-laravel-api-tutorial
Engineeringhttps://www.toptal.com/developers/blog
Technologyhttps://www.toptal.com/developers/blog/technology
A Practical Guide to Robot Programming in Pythonhttps://www.toptal.com/developers/robotics/programming-a-robot-an-introductory-tutorial
Engineeringhttps://www.toptal.com/developers/blog
Back-endhttps://www.toptal.com/developers/blog/back-end
Spring Batch Tutorial: A Practical Guide to Scalable Batch Processinghttps://www.toptal.com/developers/spring/spring-batch-tutorial
Engineeringhttps://www.toptal.com/developers/blog
The Complete Guide to Writing Effective Software Design Documentshttps://www.toptal.com/developers/ios/why-design-documents-matter
Python Developershttps://www.toptal.com/developers/python
Hire Nowhttps://www.toptal.com/hire?interested_in=developers
https://www.toptal.com/developers/resume/camille-potard
Camille Potardhttps://www.toptal.com/developers/resume/camille-potard
privacy policyhttps://www.toptal.com/privacy
privacy policyhttps://www.toptal.com/privacy
Android Developershttps://www.toptal.com/developers/android
App Developershttps://www.toptal.com/developers/app
AWS Developershttps://www.toptal.com/developers/aws
Azure Developershttps://www.toptal.com/developers/azure
BigCommerce Developershttps://www.toptal.com/developers/big-commerce
Blockchain Developershttps://www.toptal.com/developers/blockchain
Codershttps://www.toptal.com/developers/coder
Database Developershttps://www.toptal.com/developers/database
Embedded Software Engineershttps://www.toptal.com/developers/embedded
Flutter Developershttps://www.toptal.com/developers/flutter
HTML5 Developershttps://www.toptal.com/developers/html5
Java Developershttps://www.toptal.com/developers/java
Joomla Developershttps://www.toptal.com/developers/joomla
Kubernetes Developershttps://www.toptal.com/developers/kubernetes
Laravel Developershttps://www.toptal.com/developers/laravel
Magento Developershttps://www.toptal.com/developers/magento
.NET Developershttps://www.toptal.com/developers/dot-net
Next.js Developershttps://www.toptal.com/developers/next-js
Odoo Developershttps://www.toptal.com/developers/odoo
Outsourced Developershttps://www.toptal.com/developers/outsourced
PHP Developershttps://www.toptal.com/developers/php
Power BI Developershttps://www.toptal.com/developers/power-bi
Prototype Developershttps://www.toptal.com/developers/prototype
Python Developershttps://www.toptal.com/developers/python
React Developershttps://www.toptal.com/developers/react
React Native Developershttps://www.toptal.com/developers/react-native
Remote Developershttps://www.toptal.com/developers/remote
Ruby on Rails Developershttps://www.toptal.com/developers/ruby-on-rails
Salesforce Developershttps://www.toptal.com/developers/salesforce
Security Engineershttps://www.toptal.com/developers/security-engineers
SharePoint Developershttps://www.toptal.com/developers/sharepoint
Shopify Developershttps://www.toptal.com/developers/shopify
Software Developershttps://www.toptal.com/developers/software
Squarespace Developershttps://www.toptal.com/developers/squarespace
Startup Developershttps://www.toptal.com/developers/startup
Svelte Developershttps://www.toptal.com/developers/svelte
Twilio Developershttps://www.toptal.com/developers/twilio
Vue.js Developershttps://www.toptal.com/developers/vue-js
Web Developershttps://www.toptal.com/developers/web
Web Scraping Developershttps://www.toptal.com/developers/web-scraping
WooCommerce Developershttps://www.toptal.com/developers/woocommerce
WordPress Developershttps://www.toptal.com/developers/wordpress
View More Freelance Developershttps://www.toptal.com/developers
Hire a Developerhttps://www.toptal.com/hire?interested_in=developers
Apply as a Developerhttps://www.toptal.com/talent/apply?as=developer
Hire Freelance Developershttps://www.toptal.com/developers
Hire Freelance Designershttps://www.toptal.com/designers
Hire Freelance Marketershttps://www.toptal.com/marketing
Hire Freelance Management Consultantshttps://www.toptal.com/management-consultants
Hire Freelance Project Managershttps://www.toptal.com/project-managers
Hire Freelance Product Managershttps://www.toptal.com/product-managers
Hire Freelance Sales Expertshttps://www.toptal.com/sales
Full-stack Developershttps://www.toptal.com/developers/full-stack
Front-end Developershttps://www.toptal.com/developers/front-end
Software Developershttps://www.toptal.com/developers/software
Web Developershttps://www.toptal.com/developers/web
Mobile App Developershttps://www.toptal.com/developers/app
AI Engineershttps://www.toptal.com/developers/artificial-intelligence
Android Developershttps://www.toptal.com/developers/android
AngularJS Developershttps://www.toptal.com/developers/angular-js
Django Developershttps://www.toptal.com/developers/django
Drupal Developershttps://www.toptal.com/developers/drupal
Game Developershttps://www.toptal.com/developers/game
Hadoop Developershttps://www.toptal.com/developers/hadoop
iOS Developershttps://www.toptal.com/developers/ios
Java Developershttps://www.toptal.com/developers/java
JavaScript Developershttps://www.toptal.com/developers/javascript
Kubernetes Developershttps://www.toptal.com/developers/kubernetes
Magento Developershttps://www.toptal.com/developers/magento
Node.js Developershttps://www.toptal.com/developers/nodejs
PHP Developershttps://www.toptal.com/developers/php
PostgreSQL Developershttps://www.toptal.com/developers/postgresql
Python Developershttps://www.toptal.com/developers/python
React.js Developershttps://www.toptal.com/developers/react
Ruby on Rails Developershttps://www.toptal.com/developers/ruby-on-rails
Salesforce Developershttps://www.toptal.com/developers/salesforce
Scala Developershttps://www.toptal.com/developers/scala
Unity Developershttps://www.toptal.com/developers/unity
WordPress Developershttps://www.toptal.com/developers/wordpress
Why Toptalhttps://www.toptal.com/why
Contact Ushttps://www.toptal.com/contact
Press Centerhttps://www.toptal.com/press-center
Careershttps://www.toptal.com/careers
About Ushttps://www.toptal.com/about
Toptal emblemToptal brand logo®https://www.toptal.com/developers
https://www.linkedin.com/company/toptal
https://x.com/toptal
https://www.facebook.com/toptal
https://www.instagram.com/toptal/
Privacy Policyhttps://www.toptal.com/privacy
Website Termshttps://www.toptal.com/tos
Accessibilityhttps://www.toptal.com/accessibility

Viewport: width=device-width, initial-scale=1

Robots: max-image-preview:large


URLs of crawlers that visited me.