Spanish Total.js
English
Documentation For AI agents
Contents

OpenLogger 1.0

Collect the logs of your apps through a REST API, then browse, filter and download them in a web interface.

Getting started

  • Introduction

    What OpenLogger is, what it does and where to start.

  • Install from source

    Download OpenLogger, install it with npm and start it.

  • Install with Docker

    Build a Docker image from the repository and run OpenLogger with a volume for its data.

  • First start

    Protect the admin interface with a primary access token and find your way around.

Apps

  • API tokens

    Create a token for each app that sends logs, copy it, and change it.

Logs

  • Browse logs

    Find your way around the Logs screen: the columns, the pages and the buttons.

  • Filter and sort logs

    Narrow the Logs table down with the filter row and sort it by any column.

  • Log detail

    Open a log to see all its fields and the extra data formatted as JSON.

  • Remove and clear logs

    Remove selected logs or all logs from the database.

  • Download logs

    Download the log file and read what is inside.

Administration

  • Configuration

    Change the name of the app and the primary access token.

  • Back up your data

    Which files hold your data, and how to back them up and restore them.

  • Run in production

    Start OpenLogger in release mode and protect the server.

REST API

  • REST API overview

    The endpoints your apps call, how to send the token and what comes back.

  • Send a log

    POST / stores one log: the fields, their limits and an example.

  • Read logs with the admin API

    Query, remove, clear and download logs from a script with the primary access token.

  • Errors

    The status codes and messages OpenLogger answers with, and what to do.

Recipes

  • Send from Node.js

    A small Node.js function that sends a log to OpenLogger and reports errors.

  • Total.js audit logs

    Send the audit logs of a Total.js 4 app to OpenLogger with $.audit().

FAQ

  • Access and tokens

    A lost primary access token, blocked requests and which token to use where.

  • Stored logs

    Why a value looks different from what you sent, and how long logs are kept.

Made in Europe