Sorts out logging in simpleweb.py