Add SearchEngine logging to the Developer Panel

This commit is contained in:
Jim Blake 2014-05-05 16:53:36 -04:00
parent 06a3acaaa0
commit 6178aa0347
14 changed files with 774 additions and 193 deletions

View file

@ -36,6 +36,7 @@
<div id="developerTabs">
<ul>
<li><a href="#developerTabGeneral"><span>General</span></a></li>
<li><a href="#developerTabSearch"><span>Search</span></a></li>
<li><a href="#developerTabAuthorization"><span>Authorization</span></a></li>
</ul>
@ -79,11 +80,10 @@
<div class="container">
SPARQL Queries
<@showCheckbox "developer_loggingRDFService_enable",
"Log each query" />
<@showCheckbox "developer_loggingRDFService_enable", "Log each query" />
<div class="within">
<@showCheckbox "developer_loggingRDFService_stackTrace",
"Add stack trace" />
"Show stack trace" />
<@showTextbox "developer_loggingRDFService_queryRestriction",
"Restrict by query string" />
<@showTextbox "developer_loggingRDFService_stackRestriction",
@ -93,6 +93,45 @@
</div>
</div>
<div id="developerTabSearch">
<div class="devright">
<div class="container">
Indexing
<@showCheckbox "developer_searchIndex_enable", "Log indexing." />
<div class="within">
<@showCheckbox "developer_searchIndex_showDocuments",
"Show document contents" />
<@showTextbox "developer_searchIndex_uriOrNameRestriction",
"Restrict by URI or name" />
<@showTextbox "developer_searchIndex_documentRestriction",
"Restrict by document contents" />
</div>
<@showCheckbox "developer_searchDeletions_enable", "Log deletions." />
</div>
<div class="container">
Links
<br/>
<a href="${urls.base}/SearchIndex">Rebuild search index</a>
</div>
</div>
<div class="devleft">
<div class="container">
Searching
<@showCheckbox "developer_searchEngine_enable", "Log searches" />
<div class="within">
<@showCheckbox "developer_searchEngine_addStackTrace", "Show stack trace" />
<@showCheckbox "developer_searchEngine_addResults", "Show search results" />
<@showTextbox "developer_searchEngine_queryRestriction",
"Restrict by query string" />
<@showTextbox "developer_searchEngine_stackRestriction",
"Restrict by calling stack" />
</div>
</div>
</div>
</div>
<div id="developerTabAuthorization">
<@showCheckbox "developer_authorization_logDecisions_enable",
"Write policy decisions to the log" />