Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
import logging
logging.basicConfig(
level=logging.DEBUG,
format="%(message)s",
# format="%(name)8s %(levelname)8s %(lineno)3d %(message)s",
)
index = logging.getLogger('index')
render = logging.getLogger('render')
template = logging.getLogger('template')
template.setLevel(logging.ERROR)