You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2022/03/11 22:19:26 UTC

[GitHub] [cassandra-sidecar] frankgh opened a new pull request #26: Allow for LoggerHandler to be injected

frankgh opened a new pull request #26:
URL: https://github.com/apache/cassandra-sidecar/pull/26


   Currently, `vertxRouter` adds an instance of `LoggerHandler` to the top level route.
   This is prescriptive and it doesn't allow for a different implementation of the LoggerHandler
   to be injected.
   
   In this commit, `LoggerHandler` is created in the `MainModule` as a singleton and then
   injected in the `vertxRouter` method. This allows for a new implementation of the `LoggerHandler`
   to be provided.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org