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

Tsz-wo Sze updated RATIS-1637:
------------------------------
    Summary: Improve the log message with fallback value in conf  (was: Improve 
the log message )

> Improve the log message with fallback value in conf
> ---------------------------------------------------
>
>                 Key: RATIS-1637
>                 URL: https://issues.apache.org/jira/browse/RATIS-1637
>             Project: Ratis
>          Issue Type: Improvement
>          Components: conf
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>
> {code}
> // before RATIS-1633
> 2022-07-22 09:24:21 INFO  GrpcConfigKeys:46 - raft.grpc.client.port = -1 
> (default)
> 2022-07-22 09:24:21 INFO  GrpcConfigKeys:46 - raft.grpc.server.port = 10024 
> (custom)
> {code}
> RATIS-1633 changed the log (from above) to print out the effective value (to 
> below).
> {code}
> // after RATIS-1633
> 2022-07-21 17:36:03 INFO  GrpcConfigKeys:46 - raft.grpc.client.port = 10024 
> (custom)
> {code}
> We should print also the valued set in conf as below.
> {code}
> raft.grpc.admin.port = 10024 (fallback to raft.grpc.server.port)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to