-
Notifications
You must be signed in to change notification settings - Fork 41
Add control over mounting debug message on application startup #235
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
Comments
I've been thinking about adding a bunch of other logs for debugging, akin to nestjs/nest#7910. This issue could be implemented together with it. |
That sounds good. plus adding some sort of control over those logs would be good. That was the main point of me issue, I just realized I forgot to mention on. |
I'm thinking of these possible options:
|
Sounds good. I was thinking more of a programatical to do it, like passing an object in the ClsModule.forRoot({
global: true,
middleware: { mount: true },
}), But I think doing both could be great, providing two ways of doing it. Though there would be a need to define precedence between envs & config object. PS: why the |
|
There is this message on startup " DEBUG [ClsModule] Mounting ClsMiddleware to *", even in production.
It just bothers me
The text was updated successfully, but these errors were encountered: