|
From: creedon <icr...@us...> - 2005-07-10 05:52:57
|
Update of /cvsroot/frontierkernel/odbs/mainResponderRoot/mainResponder/adminSite/website In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17598 Modified Files: readouts Log Message: changed named links to not include text Index: readouts =================================================================== RCS file: /cvsroot/frontierkernel/odbs/mainResponderRoot/mainResponder/adminSite/website/readouts,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** readouts 26 Mar 2005 21:45:18 -0000 1.1.1.1 --- readouts 10 Jul 2005 05:52:49 -0000 1.2 *************** *** 1,3 **** FrontierVcsFile:1:scpt:mainResponder.adminSite.website.readouts ! on readouts () { ÇChanges Ç8/29/02; 12:35:19 AM by JES ÇAdded recent root updates log section. Ç8/4/02; 9:16:02 PM by JES ÇCreated. Display the last n items in all of the logs, with a link to the full logs. local (pta = html.getPageTableAddress ()); local (n = 5); local (htmltext = ""); on add (s) { htmltext = htmltext + (s + "\r");}; bundle { //explanatory text add ("<p>The readouts page displays the most recent events in various logs, and information about open databases and disks on this server.</p>")}; with mainResponder.adminSite { bundle { //logs add ("<h3><a name=\"logs\">Logs</a></h3>"); bundle { //http log add ("<p><b>HTTP Log</b><br /><br />The <a href=\"" + urls.http + "\" title=\"Click to see the full log.\">HTTP log</a> displays the most recent HTTP requests, including time status code, number of bytes, and path.</p>"); add (website.httpLog (n)); add ("<br />")}; bundle { //rpc log add ("<p><b>RPC Log</b><br /><br />The <a href=\"" + urls.rpc + "\" title=\"Click to see the full log.\">RPC log</a> displays the most recent XML-RPC and SOAP requests, with information about each one, including the XML-RPC procedure name.</p>"); add (website.rpcLog (n)); add ("<br />")}; if config.mainresponder.prefs.flSearchEngine and config.mainresponder.search.prefs.flLogEnabled { if config.mainresponder.search.prefs.flLogSearches { //search log add ("<p><b>Search Log</b><br /><br />The <a href=\"" + urls.searchLog + "\" title=\"Click to see the full log.\">search log</a> displays recent searches including the number of results, a link to the search, which index was searched, and the client. You can search all the sites indexed by this server using the <a href=\"" + mainResponder.adminSite.urls.search + "\">search page</a>.</p>"); add (website.searchEngineLog (n)); add ("<br />")}; if config.mainresponder.search.prefs.flLogIndex { //search indexer log add ("<p><b>Search Indexing Log</b><br /><br />The <a href=\"" + urls.searchIndexer + "\" title=\"Click to see the full log.\">indexing log</a> displays recent pages indexed by the search engine server. Included is a link to the page and to the site, the client that indexed the page, and which index the page is stored in.</p>"); add (website.searchEngineIndexerLog (n)); add ("<br />")}}; bundle { //rootUpdates log add ("<p><b>Recent Root Updates</b><br /><br />The <a href=\"" + urls.rootUpdatesLog + "\" title=\"Click to see the full log.\">root updates log</a> displays root updates downloaded today, along with associated change notes if available.</p>"); add (website.rootUpdatesLog (n)); add ("<br />")}; Çbundle //inetd log Çadd ("<p><b>inetd Log</b><br /><br />The <a href=\"" + urls.inetd + "\" title=\"Click to see the full log.\">inetd log</a> displays recent low-level inetd errors.</p>") Çadd (website.inetdLog (n)) Çadd ("<br />") Çbundle //scheduler log Çadd ("<p><b>Scheduler Log</b><br /><br />The <a href=\"" + urls.scheduler + "\" title=\"Click to see the full log.\">scheduler log</a> displays recent scheduler events.</p>") Çadd (website.schedulerLog (n)) Çadd ("<br />")}; bundle { //database info add ("<h3><a name=\"databases\">Databases</a></h3>"); add ("<p>Below is a list of all the currently open databases sorted by folder. Included is the size of each database, the number of top-level tables it contains, and when it was last modified.</p>"); add (macros.databaseInfo ()); add ("<br />")}; bundle { //disk info add ("<h3><a name=\"disks\">Disks</a></h3>"); add ("<p>Below is a list of disk volumes on the server, including size and free space.</p>"); add (macros.diskInfo ()); add ("<br />")}}; pta^.title = "Readouts"; return (htmltext)} \ No newline at end of file --- 1,3 ---- FrontierVcsFile:1:scpt:mainResponder.adminSite.website.readouts ! on readouts () { ÇChanges Ç7/9/05; 12:24:12 PM by TAC Çchanged named links to not include text Ç8/29/02; 12:35:19 AM by JES ÇAdded recent root updates log section. Ç8/4/02; 9:16:02 PM by JES ÇCreated. Display the last n items in all of the logs, with a link to the full logs. local (pta = html.getPageTableAddress ()); local (n = 5); local (htmltext = ""); on add (s) { htmltext = htmltext + (s + "\r");}; bundle { //explanatory text add ("<p>The readouts page displays the most recent events in various logs, and information about open databases and disks on this server.</p>")}; with mainResponder.adminSite { bundle { //logs add ("<h3><a name=\"logs\"></a>Logs</h3>"); bundle { //http log add ("<p><b>HTTP Log</b><br /><br />The <a href=\"" + urls.http + "\" title=\"Click to see the full log.\">HTTP log</a> displays the most recent HTTP requests, including time status code, number of bytes, and path.</p>"); add (website.httpLog (n)); add ("<br />")}; bundle { //rpc log add ("<p><b>RPC Log</b><br /><br />The <a href=\"" + urls.rpc + "\" title=\"Click to see the full log.\">RPC log</a> displays the most recent XML-RPC and SOAP requests, with information about each one, including the XML-RPC procedure name.</p>"); add (website.rpcLog (n)); add ("<br />")}; if config.mainresponder.prefs.flSearchEngine and config.mainresponder.search.prefs.flLogEnabled { if config.mainresponder.search.prefs.flLogSearches { //search log add ("<p><b>Search Log</b><br /><br />The <a href=\"" + urls.searchLog + "\" title=\"Click to see the full log.\">search log</a> displays recent searches including the number of results, a link to the search, which index was searched, and the client. You can search all the sites indexed by this server using the <a href=\"" + mainResponder.adminSite.urls.search + "\">search page</a>.</p>"); add (website.searchEngineLog (n)); add ("<br />")}; if config.mainresponder.search.prefs.flLogIndex { //search indexer log add ("<p><b>Search Indexing Log</b><br /><br />The <a href=\"" + urls.searchIndexer + "\" title=\"Click to see the full log.\">indexing log</a> displays recent pages indexed by the search engine server. Included is a link to the page and to the site, the client that indexed the page, and which index the page is stored in.</p>"); add (website.searchEngineIndexerLog (n)); add ("<br />")}}; bundle { //rootUpdates log add ("<p><b>Recent Root Updates</b><br /><br />The <a href=\"" + urls.rootUpdatesLog + "\" title=\"Click to see the full log.\">root updates log</a> displays root updates downloaded today, along with associated change notes if available.</p>"); add (website.rootUpdatesLog (n)); add ("<br />")}; Çbundle //inetd log Çadd ("<p><b>inetd Log</b><br /><br />The <a href=\"" + urls.inetd + "\" title=\"Click to see the full log.\">inetd log</a> displays recent low-level inetd errors.</p>") Çadd (website.inetdLog (n)) Çadd ("<br />") Çbundle //scheduler log Çadd ("<p><b>Scheduler Log</b><br /><br />The <a href=\"" + urls.scheduler + "\" title=\"Click to see the full log.\">scheduler log</a> displays recent scheduler events.</p>") Çadd (website.schedulerLog (n)) Çadd ("<br />")};}; bundle { //database info add ("<h3><a name=\"databases\"></a>Databases</h3>"); add ("<p>Below is a list of all the currently open databases sorted by folder. Included is the size of each database, the number of top-level tables it contains, and when it was last modified.</p>"); add (macros.databaseInfo ()); add ("<br />")}; bundle { //disk info add ("<h3><a name=\"disks\"></a>Disks</h3>"); add ("<p>Below is a list of disk volumes on the server, including size and free space.</p>"); add (macros.diskInfo ()); add ("<br />")}}; pta^.title = "Readouts"; return (htmltext)} \ No newline at end of file |