jayrbolton / brontosaurus

Streamlined Python JSON APIs with Sanic + JSON Schema + JSON RPC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Good defaults for the root/user logger

jayrbolton opened this issue · comments

If a user does:

import logging
logger = logging.getLogger()

logger.info('xyz')

Then the default formatting should match the server logs, and all messages should go into the rotating file log.

Right now, when you try to use the root/default logger, nothing seems to get printed