Improve logging

This changes our current logging to use a key=value structure and to dump some more information for every request so we can trace requests better through the system.