Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3849

improve the all logs with a necessary time unit at the start up of server

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.8.0
    • None

    Description

      • I found the following logs at the start-up of server which needs a time unit(maybe most is ms)
      • This patch should check all the start-up logs which should have time unit.
        2020-05-24 14:06:09,097 [myid:3] - INFO  [QuorumPeer[myid=3](plain=[0:0:0:0:0:0:0:0]:2183)(secure=disabled):ZooKeeperServer@332] - Created server with tickTime 2000 minSessionTimeout 4000 maxSessionTimeout 40000 clientPortListenBacklog -1 datadir ../../zkdataLog3/version-2 snapdir ../../zkdata3/version-2
        
        2020-05-24 14:05:56,881 [myid:2] - INFO  [main:ZooKeeperServer@1446] - zookeeper.flushDelay=0
        
        2020-05-24 14:05:56,881 [myid:2] - INFO  [main:ZooKeeperServer@1455] - zookeeper.maxWriteQueuePollTime=0
        
        2020-05-24 14:06:09,050 [myid:3] - INFO  [main:FastLeaderElection@88] - zookeeper.fastleader.minNotificationInterval=200
        
        2020-05-24 14:06:09,050 [myid:3] - INFO  [main:FastLeaderElection@90] - zookeeper.fastleader.maxNotificationInterval=60000
        
        2020-05-24 14:06:10,050 [myid:3] - INFO  [QuorumPeer[myid=3](plain=[0:0:0:0:0:0:0:0]:2183)(secure=disabled):RequestThrottler@75] - zookeeper.request_throttler.shutdownTimeout = 10000
        

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maoling Ling Mao
              Votes:
              1 Vote for this issue
              Watchers:
              2 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 - 20m
                  20m