We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
plugins/audit
So the change in 528ecbc means that whatever log I passed into auditLogger is not prioritised over the log from createServer.
log
auditLogger
createServer
I would imagine that whatever new log passed to auditLogger should take precedence.
const server = restify.createServer({ log: loggerA , ... }); server.on('after', restify.plugins.auditLogger({ log: loggerB, ... }));
I would expect loggerB would be used instead of loggerA.
loggerB
loggerA
I can quickly do the fix, but not sure about the tests.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature Request
Use Case
So the change in 528ecbc means that whatever
log
I passed intoauditLogger
is not prioritised over thelog
fromcreateServer
.I would imagine that whatever new
log
passed toauditLogger
should take precedence.Example API
I would expect
loggerB
would be used instead ofloggerA
.Are you willing and able to implement this?
I can quickly do the fix, but not sure about the tests.
The text was updated successfully, but these errors were encountered: