Skip to content
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

[Question]: How can I access a request scope injectable when replacing the Nest logger (including boostrap) ? #758

Closed
sharon182 opened this issue Oct 30, 2023 · 2 comments
Labels
documentation May improve documentation question Further information is requested slate

Comments

@sharon182
Copy link

Description

I'm trying to access a request scope injectable which holds a correlation id of each request, but the problem is that I'm using this method which is out of the DI container.

Is there any way to add correlation id to logs when replacing the nest logger in a NestJS way ?

@sharon182 sharon182 added documentation May improve documentation question Further information is requested labels Oct 30, 2023
@sharon182 sharon182 changed the title [Question]: How can access a request scope injectable when replacing the Nest logger (including boostrap) ? [Question]: How can I access a request scope injectable when replacing the Nest logger (including boostrap) ? Oct 30, 2023
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the slate label Nov 30, 2023
Copy link
Contributor

github-actions bot commented Dec 7, 2023

This issue was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation May improve documentation question Further information is requested slate
Projects
None yet
Development

No branches or pull requests

1 participant