codelipenghui opened a new pull request #14816:
URL: https://github.com/apache/pulsar/pull/14816


   ### Motivation
   
   When using `pulsar-perf` to run transaction performance test, we will get 
following logs
   
   ```
   15:58:36.771 [main] INFO  org.apache.pulsar.testclient.PerformanceProducer - 
--- Transaction : 378 transaction end successfully --- 0 transaction end failed 
--- 1.997 Txn/s
   15:58:36.772 [main] INFO  org.apache.pulsar.testclient.PerformanceProducer - 
Throughput produced:   18908 msg ---    100.1 msg/s ---      0.8 Mbit/s  --- 
failure      0.0 msg/s --- Latency: mean:   3.305 ms - med:   2.909 - 95pct:   
4.759 - 99pct:  19.745 - 99.9pct:  38.278 - 99.99pct:  42.023 - Max:  42.023
   15:58:37.192 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (11,23)
   15:58:37.690 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (12,23)
   15:58:38.191 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (13,23)
   15:58:38.691 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (14,23)
   15:58:39.193 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (15,23)
   15:58:39.694 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (0,23)
   15:58:40.193 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (1,24)
   15:58:40.692 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (2,24)
   15:58:41.195 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (3,24)
   15:58:41.692 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (4,24)
   15:58:42.192 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (5,24)
   15:58:42.693 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (6,24)
   15:58:43.191 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (7,24)
   15:58:43.693 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (8,24)
   15:58:44.192 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (9,24)
   15:58:44.693 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (10,24)
   15:58:45.193 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (11,24)
   15:58:45.692 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (12,24)
   15:58:46.191 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (13,24)
   15:58:46.694 [pulsar-client-internal-5-1] INFO  
org.apache.pulsar.testclient.PerformanceProducer - Committed transaction (14,24)
   ```
   
   No need to print logs for commit transaction or abort transaction
   
   ### Modifications
   
   Change transaction commit/abort log to warn level.
   
   ### Documentation
   
   Check the box below or label this PR directly (if you have committer 
privilege).
   
   Need to update docs? 
   
   - [ ] `doc-required` 
     
     (If you need help on updating docs, create a doc issue)
     
   - [x] `no-need-doc` 
     
     (Please explain why)
     
   - [ ] `doc` 
     
     (If this PR contains doc changes)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to