Hi Scott,

They are not logged normally - they are in verbose mode.

There are some issues with logging them due to scaling issues.

* Update can be very large
* Update request are streamed

Because of streaming, the whole text is not available at the point of logging (at the operation start).

An update request can be many operations and each operation is executed (but not committed) before the next one is read and processed.

Something like:

INSERT DATA {
  ....
} ;
INSERT DATA {
  ....
} ;
DELETE DATA {
  ....
} ;
INSERT DATA {
  ....
} ;

Adding large amounts of data is often better done by POSTing RDF.
RDF patch can be better, but not a standard, for a mix of adds and deletes.

Maybe the use of "small updates" dominates usage and could be logged.

Do you want the whole update logged or would a summary be sufficient?

Please do raise a issue at
https://github.com/apache/jena/issues

and we can gather input.

    Andy

On 28/08/2024 21:41, Scott Henninger wrote:
That works nicely, thank you for the worked out example, Øyvind.

A follow-up question.  I noticed that queries are logged, but not updates (i.e. 
SPARQL update).  Is there a logger configuration specifically for updates?  
Logging queries is fine but I’d also like to know when and how my data is 
updated.

Thanks in advance,
-- Scott

Reply via email to