Skip to content

Debugging components

Alvaro Graves edited this page May 13, 2013 · 5 revisions

Note: This is an early version of the new log system, so many messages are missing

Since version 20130513, debugging components in LODSPeaKr is much simpler. There are two steps:

Enable debug mode

Simply run

$ utils/lodspk.sh debug on
Debug mode turned true
Visit http://hostname/logs to see logs of the different requests

Go to http://hostname/logs and you should see something similar to

Empty debug screen

Execute some component

In a different window, ask for a URI and you will obtain the results as usual (for example, asking for the instances of pmlp:WebService by requesting http://hostname/instances/pmlp:WebService). Refresh the logs window and you will see something similar to this

Debug screen

Now you can see all the events that happened during the execution:

  • Where were the components located
  • Which query files were used
  • What endpoint was executed
  • How long did it took the execution of the query
  • Etc.
Clone this wiki locally