Fix bug where the log levels are referenced against the wrong object.
Merge branch 'feature/logging' of github.com:vanilla/vanilla into feature/multisite