diff --git a/src/Logger.ts b/src/Logger.ts index ecb5dfa..f970913 100644 --- a/src/Logger.ts +++ b/src/Logger.ts @@ -9,6 +9,15 @@ export const logger = new TsLogger({ requestId: (): string => { return requestIdStorage.getStore() as string; }, + delimiter: '\t', + maskValuesOfKeys: [ + 'Authorization', + 'password', + 'password_confirmation', + 'secret', + ], + displayFunctionName: false, + displayFilePath: 'hidden', }); export const loggingContextMiddleware: RequestHandler = (req, res, next) => {