-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support date and origin in stored logs #43
base: master
Are you sure you want to change the base?
Conversation
|
||
const { origin, logWriteStrategyOptions } = opts; | ||
this.origin = origin || 'unknown'; | ||
this.logWriteStrategyOptions = logWriteStrategyOptions || { logWriteStrategy: 'singleLogWrite' }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove line 31 ( this.logWriteStrategyOptions = logWriteStrategyOptions || { logWriteStrategy: 'singleLogWrite' };)
@@ -31,6 +31,10 @@ class TaskLogger extends EventEmitter { | |||
this.fatal = false; | |||
this.finished = false; | |||
this.steps = {}; | |||
|
|||
this.rateLimitOptions = opts.rateLimitOptions; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove line 35 implemented in another change
@@ -0,0 +1,106 @@ | |||
const { Writable } = require('stream'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete file - implemented in another change
@@ -5,8 +5,10 @@ const CFError = require('cf-errors'); | |||
const { STATUS } = require('../enums'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert this file - implemented in another change
@@ -179,7 +179,8 @@ class FirebaseTaskLogger extends BaseTaskLogger { | |||
const step = new StepLogger({ | |||
accountId: this.accountId, | |||
jobId: this.jobId, | |||
name: key | |||
name: key, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert
No description provided.