zsitole opened a new pull request, #7584:
URL: https://github.com/apache/geode/pull/7584

   Jira: https://issues.apache.org/jira/browse/GEODE-10231
   Problem:
   The function executed on a server can throw FunctionException by the 
contract. Geode servers are logging all exceptions with stack trace to 
warn/error log level and respond error back to the client. But huge number of 
FunctionException thrown from user functions logged in geode server can affect 
performance, use disc space for the logs storage, and can complicate the 
analysis of log files.
   
   Solution:
   The improvement for server side logging is adding system property 
configuration for surprising FunctionException logging. With enabled property, 
all FunctionException caused by user functions will be logged to debug log 
level.
   
   System property for suppressing FunctionException logging:
   gemfire.logging.suppressFunctionExceptionLogging=true
   
   
   ### For all changes:
   - [x] Is there a JIRA ticket associated with this PR? Is it referenced in 
the commit message?
   
   - [x] Has your PR been rebased against the latest commit within the target 
branch (typically `develop`)?
   
   - [x] Is your initial contribution a single, squashed commit?
   
   - [x] Does `gradlew build` run cleanly?
   
   - [ ] Have you written or updated unit tests to verify your changes?
   
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?


-- 
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: notifications-unsubscr...@geode.apache.org

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

Reply via email to