diff --git a/src/users/users.controller.ts b/src/users/users.controller.ts index fac1f0a..e1d4161 100644 --- a/src/users/users.controller.ts +++ b/src/users/users.controller.ts @@ -222,9 +222,10 @@ export class UsersController { } - this.winstonLogger.log(`file: ${file}`, { + this.winstonLogger.info(`receive file, fileSize: ${file.size}`, { context: 'UsersController', userId: user?.sub, + file, }) const data = await this.cosService.uploadImage(user.sub, file);