diff --git a/server/lib/uploadx.ts b/server/lib/uploadx.ts index 9484eff75..cdbe7e473 100644 --- a/server/lib/uploadx.ts +++ b/server/lib/uploadx.ts @@ -1,4 +1,5 @@ import express from 'express' +import { buildLogger } from '@server/helpers/logger' import { getResumableUploadPath } from '@server/helpers/upload' import { Uploadx } from '@uploadx/core' @@ -10,6 +11,8 @@ const uploadx = new Uploadx({ // Could be big with thumbnails/previews maxMetadataSize: '10MB', + logger: buildLogger('uploadx'), + userIdentifier: (_, res: express.Response) => { if (!res.locals.oauth) return undefined