Skip to main content
Glama

logging-get-logs

Retrieve Sitecore log files from the log directory by specifying file name, log level, date, and number of lines to view for troubleshooting and monitoring.

Instructions

Retrieves Sitecore logs from the log directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoThe name of the log file to retrieve. If not provided, defaults to log.*. Possible options: log, Crawiling.log, Search.log, SPE.log, Client.log, OWin.log, Publising.log.log
levelNoThe level of the log to retrieve. Defaults to DEBUG.DEBUG
dateNoThe date of the log file to retrieve. If not provided, defaults to today. Date format should be in ISO 8601 format (e.g., '2023-10-01T00:00:00Z'
tailNoThe number of lines to retrieve from the end of the log file. Defaults to 500.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ramseur/SitecoreMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server