Understanding logging in Python | Hacker News Reader