hedgedoc/backend/src
David Mehren 4d50f2ec33 fix(backend): immediately use our custom logger
While the DI and database initialization is running, NestJSs default logger is normally used. Our custom logger was only being initialized after DI setup is complete.
Errors encountered during DI setup were buffered and only printed after DI init was complete, or the app exited on error.
This led to the app not printing anything for a minute in certain cases.

This commit replaces the initial logger with our ConsoleLoggerService that logs everything.
After DI init is complete, that logger is replaced with a normal instance of ConsoleLoggerService that uses the real config from DI.

Fixes https://github.com/hedgedoc/hedgedoc/issues/4306

Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-25 21:49:01 +02:00
..
api feat(backend): handle username always in lowercase 2023-06-04 21:55:19 +02:00
auth feat: increased test coverage for authService 2023-06-21 14:07:00 +02:00
authors
config
errors
frontend-config
groups
history fix: improve and adjust tests 2023-06-20 11:44:38 +02:00
identity feat(backend): handle username always in lowercase 2023-06-04 21:55:19 +02:00
logger
media feat(backend): handle username always in lowercase 2023-06-04 21:55:19 +02:00
monitoring
notes fix: improve and adjust tests 2023-06-20 11:44:38 +02:00
permissions test: add test for permissions guard 2023-05-19 19:10:45 +02:00
realtime fix: save created revision on realtime note destroy 2023-06-21 14:17:25 +02:00
revisions fix: save created revision on realtime note destroy 2023-06-21 14:17:25 +02:00
session feat(backend): handle username always in lowercase 2023-06-04 21:55:19 +02:00
users feat(backend): handle username always in lowercase 2023-06-04 21:55:19 +02:00
utils test: improve select query mock builder 2023-06-20 11:44:38 +02:00
app-init.ts
app.module.ts fix: replace RouterModule from nest-router with @nestjs/core 2023-06-16 23:00:06 +02:00
events.ts
main.ts fix(backend): immediately use our custom logger 2023-06-25 21:49:01 +02:00
seed.ts fix: adjust seeding to new revision create signature 2023-06-20 11:44:38 +02:00