Skip to content

Commit

Permalink
fix(): fix removed cold start when 'false'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelvesavuori committed Nov 10, 2022
1 parent f09ef8d commit 0eb4836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/entities/MikroLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ export class MikroLog {
*/
private loadEnrichedEnvironment() {
return {
isColdStart: this.isColdStart(),
timestampRequest: produceTimestampRequest(MikroLog.event),
accountId: produceAccountId(MikroLog.event),
region: produceRegion(MikroLog.context),
Expand Down Expand Up @@ -313,7 +312,8 @@ export class MikroLog {
message: log.message,
error: log.level === 'ERROR',
level: log.level,
httpStatusCode: log.httpStatusCode
httpStatusCode: log.httpStatusCode,
isColdStart: this.isColdStart()
};

const filteredOutput = this.filterOutput(logOutput, redactedKeys, maskedValues);
Expand Down

0 comments on commit 0eb4836

Please sign in to comment.