Trillo Workbench Lessons
  • Introduction
    • Sample Application
  • Introduction to Lessons
    • IDE Lessons
    • Annotated Directory Structure
  • New classes using workbench UI
  • Save many records into tables using the workbench UI
  • New function using Workbench UI
  • Introduction to Code Lessons
    • Anatomy of Trillo Function
  • Begin Code Lessons
    • Paginated list
    • Pagination using SQL Query
    • DataIterator
    • Read file from cloud storage bucket
    • Generating signed URL for a file download
    • Import a CSV file from bucket into BigQuery
    • Query a dataset of BigQuery
    • Using an Document AI Processor
    • Chat using GenAI
    • Function calling another function
    • Accessing Runtime Context
    • Write a workflow (pipeline for data processing)
  • Appendixes
    • ServerlessFunction
    • Map, List and Tree
    • Logs and Audit Logs
    • DataRequest Class
    • DataResponse Class
    • DataIterator Class
    • Result
Powered by GitBook
On this page
  1. Appendixes

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.)

PreviousMap, List and TreeNextDataRequest Class

Last updated 1 year ago