> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/tmedia-documentation/configuration/logs.md).

# Logs

The Logs section of the [Web Portal](https://github.com/telcobridges-main/tmedia-wiki/tree/main/tmedia/configuration/web-portal/README.md) enables you to access all of the logs stored in the file system. By default the drop-down box is filled with the paths of common Toolpack log files, where the name of each log is the actual path to that file on the system.

The Toolpack logs correspond to various application instances that run on the device:

* **gateway\_\*.log**; it features information relative to the gateway (see [gateway application](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/concepts/gateway/README.md)).
* **toolpack\_engine\_\*.log**; it features information relative to the 'dynamic' resource allocation of the system (see [toolpack\_engine](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/misc/toolpack-engine/README.md)).
* **toolpack\_sys\_mgr\_\*.log**; it features information relative to the 'static' resource allocation of the system (see [sys\_manager](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/signalling/toolpack-sys-manager/README.md)).
* **tboam\_app\_\*.log**; it features information relative to the system management (see [tboamapp](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/api/tboamapp/README.md)).
* **web\_status\_client\_\*.log**; it features the web server oam wrapper log (not useful).

The options for querying logs are as follows:

* **Tail + number of lines**; this will show the number of lines working back from the end of the log
* **Head + number of lines**; this will show the number of lines working forward from the start of the log
* **Line + start line + number of lines**; this will show the number of lines starting from the start line that you selected

After selecting an option, you can choose one of two courses of action:

* **View**; this will display the output in the web view
* **Download**; this will start a download dialog for the requested log section

Toolpack logs are rotated daily or when they get to 10MB. They are then zipped (using gzip) to save space. Logs are deleted when the total gzipped logs file size for one application reaches 100MB (default). This 100MB limit can be modified per application through the Web Portal configuration.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://prosbcdocs.telcobridges.com/tmedia-documentation/configuration/logs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
