Laur's blog
  • Home
  • About
  • Support my work
Sign in Subscribe

logging

A collection of 1 post
Handler for Global Logger in Python
global

Handler for Global Logger in Python

While writing a command line tool, I've stumbled upon a strange situation: Some logs were written to a file while some others were printed to console. Quite annoying, particularly since every module I use has its own logger via logging.getLogger(__name__). After some investigation I found out
Oct 11, 2017 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost