Skip to main content

Logs

1. Overview

The Logs module in Sumo Ledger provides detailed system-level logging across three categories: Access Logs, Audit Logs, and Webhook Logs. These logs are essential for debugging, security auditing, and monitoring system activity.

Navigation: Logs

URL: https://las.ledger.raralabs.dev/log/list?log=access


2. Access Logs

The Access Logs tab records every gRPC service call made to the Sumo Ledger backend. This is the most detailed log, capturing all API interactions.

Table Columns

ColumnDescription
Start TimeThe timestamp when the request was received.
Elapsed Time (ms)The time taken to process the request, in milliseconds.
Trace IdA unique trace identifier for request tracing and correlation.
Grpc ServiceThe backend service that handled the request (e.g., ConfigService, TariffService, transaction_service.TransactionService).
Request MethodThe specific method called on the service (e.g., ListAccessLog, ListPostings, FetchTariffVolumeByDate, ReportingGroupList).
IP AddressThe IP address of the client that made the request.
requestHostThe host identifier of the requesting client.
RequestBodyA link to view the JSON request body.
ResponseBodyA link to view the JSON response body.

Controls

  • Search: Free-text search across log entries.
  • View: Toggle table layout.
  • Pagination (e.g., 1-100 / 117807).

3. Audit Logs

The Audit Logs tab records all configuration changes made to the system, providing a complete audit trail of who changed what and when.

URL: https://las.ledger.raralabs.dev/log/list?log=audit

Table Columns

ColumnDescription
Created AtThe timestamp when the change was made.
Updated AtThe timestamp of the last update.
Table NameThe configuration table that was modified (e.g., stages, configurations, feed_sources, feed_type_mappings, feed_types).
ActionThe type of change: CREATE, UPDATE, or DELETE.
User IdThe ID of the user who made the change.
BeforeA link to view the JSON state before the change. Displays "No Data" for CREATE actions.
AfterA link to view the JSON state after the change. Displays "No Data" for DELETE actions.

Controls

  • Search: Free-text search across audit entries.
  • View: Toggle table layout.
  • Pagination (e.g., 1-100 / 79664).

4. Webhook Logs

The Webhook Logs tab records all webhook deliveries triggered by process events.

URL: https://las.ledger.raralabs.dev/log/list?log=webhook

Table Columns

ColumnDescription
Ref IDThe reference ID of the transaction or event that triggered the webhook.
NameThe name of the webhook configuration.
StatusThe delivery status of the webhook.
Process SlugThe process that triggered the webhook.
Stage SlugThe specific stage within the process.
Resolved PayloadThe resolved payload that was sent.
Failure ReasonThe reason for failure, if the delivery failed.
Retry CountThe number of delivery retries attempted.
Sent AtThe timestamp when the webhook was sent.
Created AtThe timestamp when the webhook log entry was created.
webhook_idThe ID of the webhook configuration.

Controls

  • Filter: Dropdown filter for narrowing results.
  • Search: Free-text search.
  • View: Toggle table layout.

5. Best Practices

  1. Use Access Logs for performance debugging. The Elapsed Time column helps identify slow API calls.
  2. Use Audit Logs for compliance and change tracking. Before and After JSON views show exactly what changed in each configuration update.
  3. Monitor Webhook Logs for delivery failures. Failed webhooks may indicate endpoint issues or payload format problems.
  4. Use Trace IDs to correlate related log entries. A single user action may generate multiple service calls — the Trace ID links them together.
  5. Search by Request Method to find specific types of operations in the Access Logs.