-
Notifications
You must be signed in to change notification settings - Fork 18
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
Pino 7 new transport interface #63
Conversation
test/transport.js
Outdated
log.fatal(new Error('ops'), 'not ignored') | ||
t.pass('logged on mongo') | ||
|
||
await setTimeout(1000) |
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.
Here, I did not found a way to wait pino.flush()
(and it was triggering an error. I'm investigating)
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.
lgtm
there appear to be some conflicts |
Done |
Ref pinojs/pino#1056
Main changes:
useUnifiedTopology
anduseNewUrlParser
options. Since mongo client v4 these options are ignored - this module uses the 4.1 sticky versionpino-abstract-transport
utilitycli
's logic as new pino v7 transportDo you have some tests to suggest?
Do you think that we could use the mongo's bulk write to insert rows? - if so, what frequency?
Todo: