-
Notifications
You must be signed in to change notification settings - Fork 15
Debugging components
Alvaro Graves edited this page May 13, 2013
·
5 revisions
Note: This is an early version of the new log system, so there may be changes in the near future
Since version 20130513, debugging components in LODSPeaKr is much simpler. There are two steps:
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
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
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.
$ utils/lodspk.sh debug off