# Logs and Audit Logs

Trillo Workbench logs important events in the database (common.AuditLog\_tbl) and cloud logs (GCP Stackdriver/ Operation Suite). It includes information such as the operation name (e.g. create, file upload, delete, etc.), user, date-time, short-description, severity, etc. Logging is used via a Trillo class LogApi. It encapsulates log4j, etc.

1. LogApi.xxxx, where ‘xxxx’ is debug, info, warning, error, critical is used for logging to the console (GCP Stackdriver/Operation Suite, etc.)
2. LogApi.auditXxxx, where ‘Xxxx’ is Debug, Info, Warning, Error, Eritical is used for logging to the database and console (GCP Stackdriver/Operation Suite, etc.)


---

# Agent Instructions: 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:

```
GET https://trillo.gitbook.io/trillo-workbench-lessons/appendixes/logs-and-audit-logs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
