chore: Conditionally require pino if logger is enabled#5763
Conversation
|
@dancastillo Added tests |
Co-authored-by: Manuel Spigolon <behemoth89@gmail.com> Signed-off-by: Karan Raina <karanraina1996@gmail.com>
|
@mcollina @Eomm @metcoder95 An unrelated test is failing. Anyone has any idea? |
|
@mcollina @metcoder95 @Eomm I think I found it. It was due this race between 2 |
|
Looks like @smartinio already fixed the flaky test on main. Rebased my branch and reverted my changes. |
Co-authored-by: Manuel Spigolon <behemoth89@gmail.com> Signed-off-by: Karan Raina <karanraina1996@gmail.com>
Co-authored-by: Manuel Spigolon <behemoth89@gmail.com> Signed-off-by: Karan Raina <karanraina1996@gmail.com>
Co-authored-by: Manuel Spigolon <behemoth89@gmail.com> Signed-off-by: Karan Raina <karanraina1996@gmail.com>
metcoder95
left a comment
There was a problem hiding this comment.
lgtm, please address @Eomm suggestion
|
@Eomm Have done the refactor as per your suggestions. Let me know what you think about this. |
Co-authored-by: James Sumners <321201+jsumners@users.noreply.github.com> Signed-off-by: Karan Raina <karanraina1996@gmail.com>
Eomm
left a comment
There was a problem hiding this comment.
I think this PR is quite ready! We need just to clean up the code from old trials.
Good work!
Co-authored-by: James Sumners <321201+jsumners@users.noreply.github.com> Signed-off-by: Karan Raina <karanraina1996@gmail.com>
…/fastify into conditional-pino-ajv
|
@jsumners Is this ok to merge now? |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Checklist
npm run testandnpm run benchmarkand the Code of conduct
Ref #5507