You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/02/25 06:21:45 UTC

[GitHub] [pulsar] michaeljmarshall opened a new issue #9710: Broker's ServerCnx Class Logs Excessively at INFO Level

michaeljmarshall opened a new issue #9710:
URL: https://github.com/apache/pulsar/issues/9710


   **Is your enhancement request related to a problem? Please describe.**
   I would like to propose turning the log level down from INFO to DEBUG for several of the especially noisy logs in the `org.apache.pulsar.broker.service.ServerCnx` class.
   
   Anecdotally, in 24 hours, my 5 node broker cluster has logged over 23,800,000 INFO log lines from that class alone.
   
   **Describe the solution you'd like**
   Update select log lines from INFO to DEBUG in the `ServerCnx` class.
   
   **Describe alternatives you've considered**
   There are several ways to filter to out logs of a certain level from a class. However, I think these logs are excessive for most use cases, so I think it would make more sense to update the log levels in the source and let end users opt in to these logs instead of forcing them to opt out.
   
   **Additional context**
   I initially proposed this change on the mailing list [here](https://lists.apache.org/x/thread.html/re656b4449984caf705e7cb0896e6dc344d261a3452ad865bcf5ebc11@%3Cdev.pulsar.apache.org%3E). That thread has more detail.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] michaeljmarshall commented on issue #9710: Broker's ServerCnx Class Logs Excessively at INFO Level

Posted by GitBox <gi...@apache.org>.
michaeljmarshall commented on issue #9710:
URL: https://github.com/apache/pulsar/issues/9710#issuecomment-785652964


   I am working on a PR for this issue to demonstrate the proposed changes. I should have it ready to go tomorrow.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] michaeljmarshall commented on issue #9710: Broker's ServerCnx Class Logs Excessively at INFO Level

Posted by GitBox <gi...@apache.org>.
michaeljmarshall commented on issue #9710:
URL: https://github.com/apache/pulsar/issues/9710#issuecomment-786426478


   There was more communication in the mailing list. Going to hold off on the PR until there is more clarity.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui commented on issue #9710: Broker's ServerCnx Class Logs Excessively at INFO Level

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #9710:
URL: https://github.com/apache/pulsar/issues/9710#issuecomment-1058893012


   The issue had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org