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
Feature Request: Copy cmdParams to custom error logger #260
Comments
|
The best would be to clearly have an option 'logParam' and all error have either just :
For debugging, loggin parameters might help a lot, but for security reason, some might not want to have the parameters logged, so that correction will be done. |
|
3.2.3 that has been released permit finer details on that : 2 options defined what will be logged :
example of logParam: when enable: |
Sometimes I wish it was easier to get the full query and parameters of a query that is throwing an error.
Could it be considered adding a copy of
cmdParamas the 2nd parameter when calling custom loggers withthis.opts.logger.error(err)?The text was updated successfully, but these errors were encountered: