[ 
https://issues.apache.org/jira/browse/CASSANDRASC-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francisco Guerrero updated CASSANDRASC-34:
------------------------------------------
    Description: Currently, {{vertxRouter}} _creates_ 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.  
(was: Currently, {{vertxRouter}} _creates_ 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 different 
implementation of the `LoggerHandler` to be provided.)

> Allow injecting a LoggerHandler to vertxRouter
> ----------------------------------------------
>
>                 Key: CASSANDRASC-34
>                 URL: https://issues.apache.org/jira/browse/CASSANDRASC-34
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Improvement
>            Reporter: Francisco Guerrero
>            Assignee: Francisco Guerrero
>            Priority: Normal
>
> Currently, {{vertxRouter}} _creates_ 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to