Fix the logging error in devstack
This PR fixes the logging issue seen in devstack after #18 was merged, during web-requests and running tests.
To test it:
1. Start the server inside the shell, and make any request. There should not be any logging errors seen on the console.
2. From inside the shell, run the test scripts with `make validate`. There should not be any logging errors seen.