Tagged articles
3 articles
Page 1 of 1
360 Quality & Efficiency
360 Quality & Efficiency
Oct 1, 2020 · Backend Development

Advanced Python Logging: StreamHandler, FileHandler, HTTPHandler and Asynchronous Remote Logging with aiohttp and Thread Pools

This article demonstrates how to configure Python's logging module for console and file output, extend it with HTTPHandler for remote logging, and improve performance by using custom handlers, threading, thread pools, and asynchronous aiohttp calls to avoid blocking the main program.

HttpHandlerPythonaiohttp
0 likes · 16 min read
Advanced Python Logging: StreamHandler, FileHandler, HTTPHandler and Asynchronous Remote Logging with aiohttp and Thread Pools