Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1637

Improve the log message with fallback value in conf

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • 2.4.0, 3.0.0
    • conf
    • None

    Description

      // 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)
      

      RATIS-1633 changed the log (from above) to print out the effective value (to below).

      // after RATIS-1633
      2022-07-21 17:36:03 INFO  GrpcConfigKeys:46 - raft.grpc.client.port = 10024 (custom)
      

      We should print also the valued set in conf as below.

      raft.grpc.admin.port = 10024 (fallback to raft.grpc.server.port)
      

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m