Skip to main content
Glama
thhart
by thhart

get_log_content

Retrieve log file contents from runtime directories to debug errors and investigate application problems during troubleshooting.

Instructions

Returns the content of a specific log file from $XDG_RUNTIME_DIR/log. Use this to inspect runtime logs when debugging errors or investigating problems. For large files, use read_log_paginated instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYesName of the log file to read

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/thhart/log-mcp'

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