<!-- Thank you for taking the time to open an issue for restify! If this is your first time here, welcome to our community! We are a group of developers who work on restify in our free-time. Some of us do it as a hobby, others are using restify at work. When asking for help here, keep in mind most of us are volunteers contributing our daily work back to the community at no cost (and often for no reward). Please be respectful! Below you will find two templates, one for filing a bug report, and the other for requesting a feature. Remove the comments from around the template that is applicable to your case and fill it out accordingly. This standardization helps the maintainers gather the information they need up front to verify and respond to problems accordingly, ensuring you get the fastest response possible! --> <!-- REQUIRED: Pre-Submission Checklist --> - [ x] Used appropriate template for the issue type - [ x] Searched both open and closed issues for duplicates of this issue - [ x] Title adequately and _concisely_ reflects the feature or the bug # Feature Request ## Use Case So the change in 528ecbcec5d70c458749bdd4c4cc3f9e06ab69a2 means that whatever `log` I passed into `auditLogger` is not prioritised over the `log` from `createServer`. I would imagine that whatever new `log` passed to `auditLogger` should take precedence. ## Example API ``` const server = restify.createServer({ log: loggerA , ... }); server.on('after', restify.plugins.auditLogger({ log: loggerB, ... })); ``` I would expect `loggerB` would be used instead of `loggerA`. ## Are you willing and able to implement this? I can quickly do the fix, but not sure about the tests.
Activity