chore(server): setup winston logger (#9561)

There is no impact on the existing logger, as the current logger is used with `new Logger(Context)` and does not utilize dependency injection. In the next phase, gradually replace and supplement the existing `Logger`.
This commit is contained in:
Brooooooklyn
2025-01-07 09:15:07 +00:00
parent 5e51018c03
commit 482b534a90
10 changed files with 518 additions and 16 deletions

View File

@@ -20,7 +20,6 @@ export async function createApp() {
cors: true,
rawBody: true,
bodyParser: true,
logger: AFFiNE.affine.stable ? ['log'] : ['verbose'],
});
if (AFFiNE.server.path) {