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:
parent
2f9037e545
commit
77bb1944db
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue