rvesse opened a new issue, #1817:
URL: https://github.com/apache/jena/issues/1817

   ### Version
   
   4.x
   
   ### What happened?
   
   User report on the mailing list - 
https://lists.apache.org/thread/4kfpx9wpm38p3kbdh78dmgpoz2ckm4s1
   
   A query with a faulty `REGEX` on a large dataset resulted in massive log 
output because every single attempt to evaluate the expression produces an 
`ExprEvalException` and `QueryIterFilterExpr` logs every single one of those
   
   Workaround suggested on list is to disable the offending logger but since 
this is enabled by default it effectively provides a potential DoS vector 
against Jena based systems.  Logging could be made more intelligent in several 
ways:
   
   - Suppressing duplicate messages
   - Not logging specific classes of expression evaluation failures
   - Logging at a lower level that would not be output by default
   
   ### Relevant output and stacktrace
   
   ```shell
   See mailing list thread - 
https://lists.apache.org/thread/91qvxshm4njnd657g966yrbq8kmsy9ok
   ```
   
   
   ### Are you interested in making a pull request?
   
   Yes


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to