-
Notifications
You must be signed in to change notification settings - Fork 98
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
logModulesLoadedBeforeTrace should log a warning not an error, and should have a flag to disable the warning #1066
Comments
@bag-man I agree with this change, a PR would be great (ignore the labels/assignee). Thanks! |
@kjin Is there a branch that I should work off of? Master doesn't build:
|
Should be master, but seems like a type definition changed under our feet. Let me fix that! |
@kjin If you could make the fix, you could probably get it up quicker than I could, and it would be greatly appreciated! |
Nice one thanks! :D I might make a PR to add an option to disable the warning for production if that would be accepted? |
Sure, let me know if you want me to add it in as well. A note though, if you are proposing using |
I wasn't thinking of using a env var, rather just another option in the configuration object, so those who want to disable it can
|
Sure, that works! |
When would these changes get published? |
Ah, I was waiting on your PR. If it's something you need now let me go ahead and make the config option change + release. |
I started on a PR today, but Google's setup had me a bit stumped unfortunately. If it's a quick change for you before release it would be super helpful and greatly appreciated! |
Yup: #1070 |
Hi @bag-man, this has been released in 4.1.0. |
The function logModulesLoadedBeforeTrace will currently log an error, which is not appropriate for a warning to a developer.
It should be changed to log a warning, so as to not trigger error reports when a service is restarted. Ideally the module should also have an option to disable this warning.
I'm happy to make a PR to do this if considered a valid change.
The text was updated successfully, but these errors were encountered: