SiteTools.getErrorLogFiles (Method)
Returns a query detailing the 50 most recent CommonSpot Error log files for the current site.
Returns:
SiteTools_GetErrorLogFiles_Results (query)
Each row of the returned query results has the following fields:
Field Name | Type | Description |
---|---|---|
Date | Date | The date of the logfile. |
LastModifiedDateTime | Datetime | The timestamp the log file was last modified. |
LogFileName | PlainText_NonNull_255 | The name of the log file. |
Size | NonNegativeInteger | The size in bytes of the the log file. |
Arguments:
Name | Type | Required | Description |
---|---|---|---|
sortBy | FileSortBy | Optional. Defaults to 'Date'. | The field to sort by. Either 'Date', 'Size', 'LastModified', or 'FileName'. |
sortDirection | SortDirection | Optional. Defaults to 'Desc'. | The direction to sort by. Either 'ASC' or 'Desc'. |
Context:
License Requirements | (none) |
Permission Requirements | site:SiteMaintenance |
Deny Context | (none) |
Require Context | (none) |
Author Lock |
Error Codes:
None
Notes:
None