<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:news="http://www.google.com/schemas/sitemap-news/0.9"
        xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
    
    
    <url>
        <loc>https://www.sethserver.com/python/python-logging-done-right.html</loc>
        <news:news>
            <news:publication>
                <news:name>Sethserver</news:name>
                <news:language>en</news:language>
            </news:publication>
            <news:publication_date>2026-11-18T19:01:29Z</news:publication_date>
            <news:title>Python Logging Done Right</news:title>
            
            <news:keywords>Python logging
logging configuration
getLogger(__name__)
logging handlers
logging formatters
structured logging
JSON logging
log levels
DEBUG INFO WARNING ERROR CRITICAL
python-json-logger
logging.config.dictConfig
basicConfig
Flask logging
production logging
log aggregation
request_id
logging hierarchy
named loggers
StreamHandler
logging best practices
print vs logging
Sentry
DataDog
exception tracking
logging setup
root logger
disable_existing_loggers
logging.getLogger
stdout buffering
log correlation
microservices logging
Elasticsearch logging
Splunk
logging in production
Python logging tutorial
logging stack
application logging
library logging
log noise
logging levels contract
timestamp logging
module logging
logging entrypoint
logging once
duplicate logs</news:keywords>
            
        </news:news>
        
        <image:image>
            <image:loc>https://cdn.sethserver.com/blog-images/python-logging-done-right-social.jpg</image:loc>
            
            <image:caption>A cartoon robot with a yellow and orange body sits cross-legged while holding a long scroll of paper that wraps around it in multiple loops. The background is divided into blue, pink, and green sections, with Python logo icons in the corners and gray gear icons scattered throughout the composition.</image:caption>
            
            <image:title>Python Logging Done Right</image:title>
        </image:image>
        
    </url>
    
</urlset>