You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Francisco Guerrero (Jira)" <ji...@apache.org> on 2022/03/11 22:17:00 UTC
[jira] [Created] (CASSANDRASC-34) Allow injecting a LoggerHandler to vertxRouter
Francisco Guerrero created CASSANDRASC-34:
---------------------------------------------
Summary: 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
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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org