On 05/06/12 21:59, Bob Morris wrote:
I start with
./fuseki-server --update --mem --debug /ds
logging comes to the shell.
Here's a bit of recent log.
16:44:58 INFO Fuseki :: [219] OK/select
16:44:58 INFO Fuseki :: [219] 200 OK
16:44:58 INFO Fuseki :: [220] POST
http://localhost:3030/ds/update
That's not a query :-)
In SPARQL query != update.
To POST a query, POST it to /ds/query
16:44:58 INFO Fuseki :: [220] 200 OK
So it's an HTML form POSted update (you get 204 otherwise).
16:44:58 INFO Fuseki :: [221] POST
http://localhost:3030/ds/update
16:44:58 INFO Fuseki :: [221] 200 OK
16:45:09 INFO Fuseki :: [222] GET
http://localhost:3030/ds/query?query=SELECT+*+WHERE+%7B%0D%0A+GRAPH+%3Fg+%7B%3Fs+%3Fp+%3Fo%7D%0D%0A%7D+LIMIT+10&output=xml&stylesheet=%2Fxml-to-html.xsl
16:45:09 INFO Fuseki :: [222] Query = SELECT * WHERE {
GRAPH ?g {?s ?p ?o} } LIMIT 10
16:45:09 INFO Fuseki :: [222] OK/select
16:45:09 INFO Fuseki :: [222] 200 OK
Leaving for a train now. Tonight or tomorrow will try to produce a
complete minimal log and also report what (I believe that) the POST
arguments are.
Please do - looks like you are POSTing an update HTML-form style.
Updates don't log. Form submitted updates are buffered - the entire
string is available to be printed but ones sent as
"application/sparql-update" are stream read (e.g. a large INSERT DATA {
.... })
I've fixed the server so if started with "--debug" you will get update
logging (and a lot of other logging - debug mode). Old feature - got
lost when config files were added.
It'll be in tonight's build.
Andy
Thanks
Bob