Changes

Jump to navigation Jump to search
759 bytes added ,  20:33, 24 August 2012
|
* {{Code|admin:sessions()}} may e.g. return <code><session user="admin" database="factbook">127.0.0.1:6286</session></code>
|}
 
==admin:logs==
{|
|-
| width='90' | '''Signatures'''
|{{Func|admin:logs||element(file)*}}<br/>{{Func|admin:logs|$date as xs:date|element(entry)*}}<br/>
|-
| '''Summary'''
|Returns [[Logging]] data compiled by the database or HTTP server.<br/>If no argument is specified, a list of all log files will be returned, including the file size and date.<br/>If a {{Code|$date}} is specified, the contents of a single log file will be returned. An empty sequence will be returned if no logging data exists for the specified date.
|-
| '''Examples'''
|
* {{Code|admin:logs()}} may return <code><file date="2013-01-23" size="834367"/></code> if a single log file exists.
* {{Code|admin:logs(xs:date('2013-01-23'))}} will list all log entries of the specified date.
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu