Merge pull request #2304 from spotify/eide/no-loggin-newline

logging: Remove newlines added by morgan
This commit is contained in:
Marcus Eide
2020-09-07 12:53:18 +02:00
committed by GitHub
@@ -33,7 +33,7 @@ export function requestLoggingHandler(logger?: Logger): RequestHandler {
return morgan('combined', {
stream: {
write(message: String) {
actualLogger.info(message);
actualLogger.info(message.trimRight());
},
},
});