Web: Setup the logger earlier in the bootstrap process

Previously only ERROR got logged (to syslog only) up until
setupLogger() was called. This prevented any other message
level from being logged. It's now required to be able to
log in the Auth singleton. It also fixes the problem that
during setupSession() some warnings were never visible
due to the same reason.
This commit is contained in:
Johannes Meyer 2018-10-08 14:03:34 +02:00
parent 2f9037e545
commit 77bb1944db
1 changed files with 1 additions and 1 deletions

View File

@ -84,6 +84,7 @@ class Web extends EmbeddedWeb
->setupLogging()
->setupErrorHandling()
->loadConfig()
->setupLogger()
->setupRequest()
->setupSession()
->setupNotifications()
@ -97,7 +98,6 @@ class Web extends EmbeddedWeb
->setupUserBackendFactory()
->setupUser()
->setupTimezone()
->setupLogger()
->setupInternationalization()
->setupFatalErrorHandling();
}