{"id":"JapX0P6HV60f","url":"https://totaljs.es/docs/openlogger/1-0/guides/introduction/","project":"openlogger","version":"1-0","section":"guides","language":"en","title":"Introduction","summary":"What OpenLogger is, what it does and where to start.","markdown":"---\ntitle: Introduction\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/guides/introduction/\nupdated: 2026-11-19T08:02:30.706Z\n---\n\n# Introduction\n\n> What OpenLogger is, what it does and where to start.\n\nOpenLogger is a small log server for your other apps. Your apps send their logs to it with one HTTP request, and you read, filter and download them in one web interface. It suits apps that need a shared place for audit trails, errors and important events.\n\nOpenLogger is an official Total.js app under the MIT license. The code is on [GitHub](https://github.com/totaljs/openlogger).\n\n## What you can do\n\n- Receive logs from any app that can send an HTTP request, with an **API token** per app.\n- Store for every log the app name, a type (`info`, `warning`, `error` or `success`), a message, the user, the URL, the IP address, the device and any extra data as JSON.\n- Browse all logs in a table, newest first, and filter and sort them by any column.\n- Open a log to see all its details, with the extra data formatted as JSON.\n- Remove single logs, clear all logs, and download the log file.\n- Read the logs from your own scripts with the admin API.\n\n## How it fits together\n\n1. You protect the admin interface with a primary access token.\n2. You create an API token for each app, for example `Demo project`.\n3. Your app sends `POST /` with the token and a JSON body such as `{\"app\":\"Demo project\",\"type\":\"error\",\"message\":\"Report export failed\"}`.\n4. OpenLogger stores the log, and you see it in **Logs**.\n\n## Where to go next\n\n- Install OpenLogger: [Install from source](../install-source/) or [Install with Docker](../install-docker/).\n- Protect the admin interface: [First start](../first-start/).\n- Connect your first app: [API tokens](../api-tokens/) and [Send a log](../../reference/send-log/).\n- Send the audit logs of a Total.js app: [Total.js audit logs](../../recipes/totaljs-audit/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.706Z"}
{"id":"JapX0P6HV60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/guides/introduction/","project":"openlogger","version":"1-0","section":"guides","language":"de","title":"Einführung","summary":"Was OpenLogger ist, was es macht und wo du anfängst.","markdown":"---\ntitle: \"Einführung\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/guides/introduction/\nupdated: 2026-11-19T08:02:30.706Z\n---\n\n# Einführung\n\n> Was OpenLogger ist, was es macht und wo du anfängst.\n\nOpenLogger ist ein kleiner Log-Server für deine anderen Apps. Deine Apps schicken ihm ihre Logs mit einer einzigen HTTP-Anfrage, und du liest, filterst und lädst sie in einer Weboberfläche herunter. Es passt zu Apps, die einen gemeinsamen Ort für Audit-Trails, Fehler und wichtige Ereignisse brauchen.\n\nOpenLogger ist eine offizielle Total.js-App unter der MIT-Lizenz. Der Code liegt auf [GitHub](https://github.com/totaljs/openlogger).\n\n## Was du tun kannst\n\n- Logs von jeder App empfangen, die eine HTTP-Anfrage senden kann, mit einem **API-Token** pro App.\n- Für jedes Log den App-Namen speichern, einen Typ (`info`, `warning`, `error` oder `success`), eine Nachricht, den Benutzer, die URL, die IP-Adresse, das Gerät und beliebige Zusatzdaten als JSON.\n- Alle Logs in einer Tabelle durchsehen, die neuesten zuerst, und sie nach jeder Spalte filtern und sortieren.\n- Ein Log öffnen, um alle Details zu sehen, mit den Zusatzdaten als formatiertem JSON.\n- Einzelne Logs entfernen, alle Logs leeren und die Log-Datei herunterladen.\n- Die Logs mit der Admin-API aus deinen eigenen Skripten lesen.\n\n## Wie alles zusammenspielt\n\n1. Du schützt die Admin-Oberfläche mit einem Primary Access Token.\n2. Du erstellst ein API-Token für jede App, zum Beispiel `Demo project`.\n3. Deine App schickt `POST /` mit dem Token und einem JSON-Body wie `{\"app\":\"Demo project\",\"type\":\"error\",\"message\":\"Report export failed\"}`.\n4. OpenLogger speichert das Log, und du siehst es in **Logs**.\n\n## Wie es weitergeht\n\n- Installiere OpenLogger: [Aus dem Quellcode installieren](../install-source/) oder [Mit Docker installieren](../install-docker/).\n- Schütz die Admin-Oberfläche: [Erster Start](../first-start/).\n- Verbinde deine erste App: [API-Tokens](../api-tokens/) und [Ein Log senden](../../reference/send-log/).\n- Schick die Audit-Logs einer Total.js-App: [Audit-Logs von Total.js](../../recipes/totaljs-audit/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.706Z"}
{"id":"JapX0P6HV60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/guides/introduction/","project":"openlogger","version":"1-0","section":"guides","language":"es","title":"Introducción","summary":"Qué es OpenLogger, qué hace y por dónde empezar.","markdown":"---\ntitle: \"Introducción\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/guides/introduction/\nupdated: 2026-11-19T08:02:30.706Z\n---\n\n# Introducción\n\n> Qué es OpenLogger, qué hace y por dónde empezar.\n\nOpenLogger es un pequeño servidor de registros para tus otras apps. Tus apps le envían sus registros con una sola petición HTTP, y tú los lees, los filtras y los descargas en una interfaz web. Es ideal para apps que necesitan un sitio común para registros de auditoría, errores y eventos importantes.\n\nOpenLogger es una app oficial de Total.js con licencia MIT. El código está en [GitHub](https://github.com/totaljs/openlogger).\n\n## Qué puedes hacer\n\n- Recibir registros de cualquier app que pueda enviar una petición HTTP, con un **token de API** por app.\n- Guardar de cada registro el nombre de la app, un tipo (`info`, `warning`, `error` o `success`), un mensaje, el usuario, la URL, la dirección IP, el dispositivo y cualquier dato extra en JSON.\n- Ver todos los registros en una tabla, los más recientes primero, y filtrarlos y ordenarlos por cualquier columna.\n- Abrir un registro para ver todos sus detalles, con los datos extra formateados como JSON.\n- Borrar registros sueltos, vaciar todos los registros y descargar el archivo de registros.\n- Leer los registros desde tus propios scripts con la API de administración.\n\n## Cómo encaja todo\n\n1. Proteges la interfaz de administración con un token de acceso principal.\n2. Creas un token de API para cada app, por ejemplo `Demo project`.\n3. Tu app envía `POST /` con el token y un cuerpo JSON como `{\"app\":\"Demo project\",\"type\":\"error\",\"message\":\"Report export failed\"}`.\n4. OpenLogger guarda el registro y tú lo ves en **Logs**.\n\n## Por dónde seguir\n\n- Instala OpenLogger: [Instalar desde el código fuente](../install-source/) o [Instalar con Docker](../install-docker/).\n- Protege la interfaz de administración: [Primer arranque](../first-start/).\n- Conecta tu primera app: [Tokens de API](../api-tokens/) y [Enviar un registro](../../reference/send-log/).\n- Envía los registros de auditoría de una app Total.js: [Registros de auditoría de Total.js](../../recipes/totaljs-audit/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.706Z"}
{"id":"JapX0P6HV60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/guides/introduction/","project":"openlogger","version":"1-0","section":"guides","language":"fr","title":"Introduction","summary":"Ce qu’est OpenLogger, ce qu’il fait et par où commencer.","markdown":"---\ntitle: Introduction\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/guides/introduction/\nupdated: 2026-11-19T08:02:30.706Z\n---\n\n# Introduction\n\n> Ce qu’est OpenLogger, ce qu’il fait et par où commencer.\n\nOpenLogger est un petit serveur de logs pour tes autres applications. Tes applications lui envoient leurs logs avec une seule requête HTTP, et tu les lis, les filtres et les télécharges dans une seule interface web. Il convient aux applications qui ont besoin d’un endroit commun pour les traces d’audit, les erreurs et les événements importants.\n\nOpenLogger est une application officielle de Total.js sous licence MIT. Le code est sur [GitHub](https://github.com/totaljs/openlogger).\n\n## Ce que tu peux faire\n\n- Recevoir des logs de n’importe quelle application capable d’envoyer une requête HTTP, avec un **API token** (jeton d’API) par application.\n- Enregistrer pour chaque log le nom de l’application, un type (`info`, `warning`, `error` ou `success`), un message, l’utilisateur, l’URL, l’adresse IP, l’appareil et toutes les données en plus au format JSON.\n- Parcourir tous les logs dans un tableau, les plus récents en premier, et les filtrer et les trier selon n’importe quelle colonne.\n- Ouvrir un log pour voir tous ses détails, avec les données en plus mises en forme en JSON.\n- Supprimer des logs un par un, vider tous les logs et télécharger le fichier des logs.\n- Lire les logs depuis tes propres scripts avec l’API d’administration.\n\n## Comment tout s’articule\n\n1. Tu protèges l’interface d’administration avec un jeton d’accès principal.\n2. Tu crées un jeton d’API pour chaque application, par exemple `Demo project`.\n3. Ton application envoie `POST /` avec le jeton et un corps JSON comme `{\"app\":\"Demo project\",\"type\":\"error\",\"message\":\"Report export failed\"}`.\n4. OpenLogger enregistre le log, et tu le vois dans **Logs**.\n\n## Où aller ensuite\n\n- Installe OpenLogger : [Installer depuis les sources](../install-source/) ou [Installer avec Docker](../install-docker/).\n- Protège l’interface d’administration : [Premier démarrage](../first-start/).\n- Connecte ta première application : [Jetons d’API](../api-tokens/) et [Envoyer un log](../../reference/send-log/).\n- Envoie les logs d’audit d’une application Total.js : [Logs d’audit de Total.js](../../recipes/totaljs-audit/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.706Z"}
{"id":"JapX0P6HV60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/guides/introduction/","project":"openlogger","version":"1-0","section":"guides","language":"it","title":"Introduzione","summary":"Cos'è OpenLogger, cosa fa e da dove iniziare.","markdown":"---\ntitle: Introduzione\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/guides/introduction/\nupdated: 2026-11-19T08:02:30.706Z\n---\n\n# Introduzione\n\n> Cos'è OpenLogger, cosa fa e da dove iniziare.\n\nOpenLogger è un piccolo server di log per le tue altre app. Le tue app gli inviano i loro log con una sola richiesta HTTP, e tu li leggi, li filtri e li scarichi in un'unica interfaccia web. È adatto alle app che hanno bisogno di un posto comune per tracce di audit, errori ed eventi importanti.\n\nOpenLogger è un'app ufficiale di Total.js con licenza MIT. Il codice è su [GitHub](https://github.com/totaljs/openlogger).\n\n## Cosa puoi fare\n\n- Ricevere log da qualsiasi app capace di inviare una richiesta HTTP, con un **token API** per ogni app.\n- Salvare per ogni log il nome dell'app, un tipo (`info`, `warning`, `error` o `success`), un messaggio, l'utente, l'URL, l'indirizzo IP, il dispositivo e qualsiasi dato aggiuntivo in JSON.\n- Sfogliare tutti i log in una tabella, dal più recente, e filtrarli e ordinarli per qualsiasi colonna.\n- Aprire un log per vedere tutti i suoi dettagli, con i dati aggiuntivi formattati in JSON.\n- Rimuovere singoli log, svuotare tutti i log e scaricare il file dei log.\n- Leggere i log dai tuoi script con l'API di amministrazione.\n\n## Come funziona l'insieme\n\n1. Proteggi l'interfaccia di amministrazione con un token di accesso principale.\n2. Crei un token API per ogni app, per esempio `Demo project`.\n3. La tua app invia `POST /` con il token e un corpo JSON come `{\"app\":\"Demo project\",\"type\":\"error\",\"message\":\"Report export failed\"}`.\n4. OpenLogger salva il log, e tu lo vedi in **Logs**.\n\n## Dove andare dopo\n\n- Installa OpenLogger: [Installare dal codice sorgente](../install-source/) o [Installare con Docker](../install-docker/).\n- Proteggi l'interfaccia di amministrazione: [Primo avvio](../first-start/).\n- Collega la tua prima app: [Token API](../api-tokens/) e [Inviare un log](../../reference/send-log/).\n- Invia i log di audit di un'app Total.js: [Log di audit di Total.js](../../recipes/totaljs-audit/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.706Z"}
{"id":"JapX0P6HV60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/guides/introduction/","project":"openlogger","version":"1-0","section":"guides","language":"sk","title":"Úvod","summary":"Čo je OpenLogger, čo robí a kde začať.","markdown":"---\ntitle: \"Úvod\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/guides/introduction/\nupdated: 2026-11-19T08:02:30.706Z\n---\n\n# Úvod\n\n> Čo je OpenLogger, čo robí a kde začať.\n\nOpenLogger je malý server na logy pre tvoje ostatné aplikácie. Tvoje aplikácie mu posielajú logy jednou HTTP požiadavkou a ty ich čítaš, filtruješ a sťahuješ v jednom webovom rozhraní. Hodí sa pre aplikácie, ktoré potrebujú spoločné miesto pre auditné záznamy, chyby a dôležité udalosti.\n\nOpenLogger je oficiálna aplikácia Total.js pod licenciou MIT. Kód je na [GitHube](https://github.com/totaljs/openlogger).\n\n## Čo môžeš robiť\n\n- Prijímať logy z ľubovoľnej aplikácie, ktorá dokáže poslať HTTP požiadavku, s **API tokenom** pre každú aplikáciu.\n- Ukladať pri každom logu názov aplikácie, typ (`info`, `warning`, `error` alebo `success`), správu, používateľa, URL, IP adresu, zariadenie a ľubovoľné ďalšie dáta ako JSON.\n- Prehliadať všetky logy v tabuľke, najnovšie navrchu, a filtrovať a triediť ich podľa ľubovoľného stĺpca.\n- Otvoriť log a vidieť všetky jeho údaje, s ďalšími dátami naformátovanými ako JSON.\n- Odstraňovať jednotlivé logy, vymazať všetky logy a stiahnuť súbor s logmi.\n- Čítať logy z vlastných skriptov cez administračné API.\n\n## Ako to do seba zapadá\n\n1. Administráciu ochrániš hlavným prístupovým tokenom.\n2. Pre každú aplikáciu vytvoríš API token, napríklad `Demo project`.\n3. Tvoja aplikácia pošle `POST /` s tokenom a telom JSON, napríklad `{\"app\":\"Demo project\",\"type\":\"error\",\"message\":\"Report export failed\"}`.\n4. OpenLogger log uloží a ty ho uvidíš v **Logs**.\n\n## Kam ďalej\n\n- Nainštaluj OpenLogger: [Inštalácia zo zdrojového kódu](../install-source/) alebo [Inštalácia s Dockerom](../install-docker/).\n- Ochráň administráciu: [Prvé spustenie](../first-start/).\n- Pripoj svoju prvú aplikáciu: [API tokeny](../api-tokens/) a [Poslanie logu](../../reference/send-log/).\n- Posielaj auditné logy aplikácie Total.js: [Auditné logy Total.js](../../recipes/totaljs-audit/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.706Z"}
{"id":"JapX0O6FV60f","url":"https://totaljs.es/docs/openlogger/1-0/guides/install-source/","project":"openlogger","version":"1-0","section":"guides","language":"en","title":"Install from source","summary":"Download OpenLogger, install it with npm and start it.","markdown":"---\ntitle: Install from source\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/guides/install-source/\nupdated: 2026-11-19T08:02:30.706Z\n---\n\n# Install from source\n\n> Download OpenLogger, install it with npm and start it.\n\nOpenLogger is a Node.js app. You need [Node.js](https://nodejs.org) with npm and, to download the code, Git.\n\n## Download and start\n\n**1.** Download the code:\n\n```bash\ngit clone https://github.com/totaljs/openlogger.git\ncd openlogger\n```\n\n**2.** Install the dependency (the Total.js framework):\n\n```bash\nnpm install\n```\n\n**3.** Start the app:\n\n```bash\nnpm start\n```\n\nOpenLogger listens on port `8000`. Open `http://127.0.0.1:8000/` in your browser: you land on the admin interface at `/setup/`.\n\n## Use another port\n\n`npm start` runs `node index.js 8000`. To use another port, start the app with the port number:\n\n```bash\nnode index.js 8080\n```\n\n## Where your data goes\n\nOpenLogger keeps everything in the `databases` folder inside the app folder: the logs, the API tokens and the configuration. See [Back up your data](../backups/).\n\n## Next step\n\nBefore you do anything else, set a primary access token: [First start](../first-start/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.706Z"}
{"id":"JapX0O6FV60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/guides/install-source/","project":"openlogger","version":"1-0","section":"guides","language":"de","title":"Aus dem Quellcode installieren","summary":"Lade OpenLogger herunter, installiere es mit npm und starte es.","markdown":"---\ntitle: Aus dem Quellcode installieren\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/guides/install-source/\nupdated: 2026-11-19T08:02:30.706Z\n---\n\n# Aus dem Quellcode installieren\n\n> Lade OpenLogger herunter, installiere es mit npm und starte es.\n\nOpenLogger ist eine Node.js-App. Du brauchst [Node.js](https://nodejs.org) mit npm und, um den Code herunterzuladen, Git.\n\n## Herunterladen und starten\n\n**1.** Lade den Code herunter:\n\n```bash\ngit clone https://github.com/totaljs/openlogger.git\ncd openlogger\n```\n\n**2.** Installiere die Abhängigkeit (das Total.js-Framework):\n\n```bash\nnpm install\n```\n\n**3.** Starte die App:\n\n```bash\nnpm start\n```\n\nOpenLogger lauscht auf Port `8000`. Öffne `http://127.0.0.1:8000/` in deinem Browser: Du landest auf der Admin-Oberfläche unter `/setup/`.\n\n## Einen anderen Port nutzen\n\n`npm start` führt `node index.js 8000` aus. Für einen anderen Port startest du die App mit der Portnummer:\n\n```bash\nnode index.js 8080\n```\n\n## Wo deine Daten landen\n\nOpenLogger speichert alles im Ordner `databases` im App-Ordner: die Logs, die API-Tokens und die Konfiguration. Mehr dazu unter [Deine Daten sichern](../backups/).\n\n## Nächster Schritt\n\nBevor du irgendetwas anderes machst, leg ein Primary Access Token fest: [Erster Start](../first-start/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.706Z"}
{"id":"JapX0O6FV60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/guides/install-source/","project":"openlogger","version":"1-0","section":"guides","language":"es","title":"Instalar desde el código fuente","summary":"Descarga OpenLogger, instálalo con npm y arráncalo.","markdown":"---\ntitle: \"Instalar desde el código fuente\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/guides/install-source/\nupdated: 2026-11-19T08:02:30.706Z\n---\n\n# Instalar desde el código fuente\n\n> Descarga OpenLogger, instálalo con npm y arráncalo.\n\nOpenLogger es una app de Node.js. Necesitas [Node.js](https://nodejs.org) con npm y, para descargar el código, Git.\n\n## Descargar y arrancar\n\n**1.** Descarga el código:\n\n```bash\ngit clone https://github.com/totaljs/openlogger.git\ncd openlogger\n```\n\n**2.** Instala la dependencia (el framework Total.js):\n\n```bash\nnpm install\n```\n\n**3.** Arranca la app:\n\n```bash\nnpm start\n```\n\nOpenLogger escucha en el puerto `8000`. Abre `http://127.0.0.1:8000/` en tu navegador: llegas a la interfaz de administración en `/setup/`.\n\n## Usar otro puerto\n\n`npm start` ejecuta `node index.js 8000`. Para usar otro puerto, arranca la app con el número de puerto:\n\n```bash\nnode index.js 8080\n```\n\n## Dónde van tus datos\n\nOpenLogger lo guarda todo en la carpeta `databases`, dentro de la carpeta de la app: los registros, los tokens de API y la configuración. Consulta [Copia de seguridad de tus datos](../backups/).\n\n## Siguiente paso\n\nAntes de hacer nada más, pon un token de acceso principal: [Primer arranque](../first-start/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.706Z"}
{"id":"JapX0O6FV60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/guides/install-source/","project":"openlogger","version":"1-0","section":"guides","language":"fr","title":"Installer depuis les sources","summary":"Télécharge OpenLogger, installe-le avec npm et démarre-le.","markdown":"---\ntitle: Installer depuis les sources\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/guides/install-source/\nupdated: 2026-11-19T08:02:30.706Z\n---\n\n# Installer depuis les sources\n\n> Télécharge OpenLogger, installe-le avec npm et démarre-le.\n\nOpenLogger est une application Node.js. Il te faut [Node.js](https://nodejs.org) avec npm et, pour télécharger le code, Git.\n\n## Télécharger et démarrer\n\n**1.** Télécharge le code :\n\n```bash\ngit clone https://github.com/totaljs/openlogger.git\ncd openlogger\n```\n\n**2.** Installe la dépendance (le framework Total.js) :\n\n```bash\nnpm install\n```\n\n**3.** Démarre l’application :\n\n```bash\nnpm start\n```\n\nOpenLogger écoute sur le port `8000`. Ouvre `http://127.0.0.1:8000/` dans ton navigateur : tu arrives sur l’interface d’administration, à l’adresse `/setup/`.\n\n## Utiliser un autre port\n\n`npm start` lance `node index.js 8000`. Pour utiliser un autre port, démarre l’application avec le numéro du port :\n\n```bash\nnode index.js 8080\n```\n\n## Où vont tes données\n\nOpenLogger garde tout dans le dossier `databases`, dans le dossier de l’application : les logs, les jetons d’API et la configuration. Consulte [Sauvegarder tes données](../backups/).\n\n## Étape suivante\n\nAvant de faire quoi que ce soit d’autre, définis un jeton d’accès principal : [Premier démarrage](../first-start/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.706Z"}
{"id":"JapX0O6FV60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/guides/install-source/","project":"openlogger","version":"1-0","section":"guides","language":"it","title":"Installare dal codice sorgente","summary":"Scarica OpenLogger, installalo con npm e avvialo.","markdown":"---\ntitle: Installare dal codice sorgente\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/guides/install-source/\nupdated: 2026-11-19T08:02:30.706Z\n---\n\n# Installare dal codice sorgente\n\n> Scarica OpenLogger, installalo con npm e avvialo.\n\nOpenLogger è un'app Node.js. Ti servono [Node.js](https://nodejs.org) con npm e, per scaricare il codice, Git.\n\n## Scaricare e avviare\n\n**1.** Scarica il codice:\n\n```bash\ngit clone https://github.com/totaljs/openlogger.git\ncd openlogger\n```\n\n**2.** Installa la dipendenza (il framework Total.js):\n\n```bash\nnpm install\n```\n\n**3.** Avvia l'app:\n\n```bash\nnpm start\n```\n\nOpenLogger è in ascolto sulla porta `8000`. Apri `http://127.0.0.1:8000/` nel browser: arrivi all'interfaccia di amministrazione su `/setup/`.\n\n## Usare un'altra porta\n\n`npm start` esegue `node index.js 8000`. Per usare un'altra porta, avvia l'app con il numero della porta:\n\n```bash\nnode index.js 8080\n```\n\n## Dove vanno i tuoi dati\n\nOpenLogger conserva tutto nella cartella `databases` dentro la cartella dell'app: i log, i token API e la configurazione. Leggi [Fare il backup dei dati](../backups/).\n\n## Prossimo passo\n\nPrima di fare qualsiasi altra cosa, imposta un token di accesso principale: [Primo avvio](../first-start/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.706Z"}
{"id":"JapX0O6FV60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/guides/install-source/","project":"openlogger","version":"1-0","section":"guides","language":"sk","title":"Inštalácia zo zdrojového kódu","summary":"Stiahni OpenLogger, nainštaluj ho cez npm a spusti ho.","markdown":"---\ntitle: \"Inštalácia zo zdrojového kódu\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/guides/install-source/\nupdated: 2026-11-19T08:02:30.706Z\n---\n\n# Inštalácia zo zdrojového kódu\n\n> Stiahni OpenLogger, nainštaluj ho cez npm a spusti ho.\n\nOpenLogger je aplikácia Node.js. Potrebuješ [Node.js](https://nodejs.org) s npm a na stiahnutie kódu Git.\n\n## Stiahnutie a spustenie\n\n**1.** Stiahni kód:\n\n```bash\ngit clone https://github.com/totaljs/openlogger.git\ncd openlogger\n```\n\n**2.** Nainštaluj závislosť (framework Total.js):\n\n```bash\nnpm install\n```\n\n**3.** Spusti aplikáciu:\n\n```bash\nnpm start\n```\n\nOpenLogger počúva na porte `8000`. Otvor v prehliadači `http://127.0.0.1:8000/`: dostaneš sa do administrácie na `/setup/`.\n\n## Iný port\n\n`npm start` spúšťa `node index.js 8000`. Ak chceš iný port, spusti aplikáciu s číslom portu:\n\n```bash\nnode index.js 8080\n```\n\n## Kam idú tvoje dáta\n\nOpenLogger uchováva všetko v priečinku `databases` v priečinku aplikácie: logy, API tokeny a konfiguráciu. Pozri si [Záloha dát](../backups/).\n\n## Ďalší krok\n\nSkôr než urobíš čokoľvek iné, nastav hlavný prístupový token: [Prvé spustenie](../first-start/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.706Z"}
{"id":"JapX0M6DV60f","url":"https://totaljs.es/docs/openlogger/1-0/guides/install-docker/","project":"openlogger","version":"1-0","section":"guides","language":"en","title":"Install with Docker","summary":"Build a Docker image from the repository and run OpenLogger with a volume for its data.","markdown":"---\ntitle: Install with Docker\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/guides/install-docker/\nupdated: 2026-11-19T08:02:30.326Z\n---\n\n# Install with Docker\n\n> Build a Docker image from the repository and run OpenLogger with a volume for its data.\n\nThe repository contains a `Dockerfile`. You build the image from the code and run it with a volume, so your logs and tokens survive a new container.\n\n## Build the image\n\n**1.** Download the code:\n\n```bash\ngit clone https://github.com/totaljs/openlogger.git\ncd openlogger\n```\n\n**2.** Build the image:\n\n```bash\ndocker build -t openlogger .\n```\n\n## Run the container\n\n```bash\ndocker run -d --name openlogger -p 8000:8000 \\\n  -v openlogger-data:/www/.src/databases \\\n  openlogger\n```\n\nOpen `http://127.0.0.1:8000/` in your browser and continue with [First start](../first-start/).\n\nInside the container, OpenLogger keeps its data in `/www/.src/databases`. The volume `openlogger-data` holds the logs, the API tokens and the configuration, so you can remove the container and start a new one without losing them.\n\n## Update to a new version\n\n**1.** Download the new code with `git pull` and build the image again with `docker build -t openlogger .`.\n\n**2.** Remove the old container and start a new one with the same volume:\n\n```bash\ndocker rm -f openlogger\ndocker run -d --name openlogger -p 8000:8000 \\\n  -v openlogger-data:/www/.src/databases \\\n  openlogger\n```\n\n## Good to know\n\n- `docker run` without a volume keeps the data only in that container. Removing the container removes your logs and tokens.\n- Changes to tokens and the configuration are written to disk about 10 seconds after you save them. Wait a moment before you stop the container.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.326Z"}
{"id":"JapX0M6DV60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/guides/install-docker/","project":"openlogger","version":"1-0","section":"guides","language":"de","title":"Mit Docker installieren","summary":"Bau ein Docker-Image aus dem Repository und starte OpenLogger mit einem Volume für seine Daten.","markdown":"---\ntitle: Mit Docker installieren\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/guides/install-docker/\nupdated: 2026-11-19T08:02:30.326Z\n---\n\n# Mit Docker installieren\n\n> Bau ein Docker-Image aus dem Repository und starte OpenLogger mit einem Volume für seine Daten.\n\nDas Repository enthält ein `Dockerfile`. Du baust das Image aus dem Code und startest es mit einem Volume, damit deine Logs und Tokens einen neuen Container überstehen.\n\n## Das Image bauen\n\n**1.** Lade den Code herunter:\n\n```bash\ngit clone https://github.com/totaljs/openlogger.git\ncd openlogger\n```\n\n**2.** Bau das Image:\n\n```bash\ndocker build -t openlogger .\n```\n\n## Den Container starten\n\n```bash\ndocker run -d --name openlogger -p 8000:8000 \\\n  -v openlogger-data:/www/.src/databases \\\n  openlogger\n```\n\nÖffne `http://127.0.0.1:8000/` in deinem Browser und mach mit [Erster Start](../first-start/) weiter.\n\nIm Container speichert OpenLogger seine Daten in `/www/.src/databases`. Das Volume `openlogger-data` enthält die Logs, die API-Tokens und die Konfiguration, du kannst den Container also entfernen und einen neuen starten, ohne sie zu verlieren.\n\n## Auf eine neue Version aktualisieren\n\n**1.** Lade den neuen Code mit `git pull` herunter und bau das Image erneut mit `docker build -t openlogger .`.\n\n**2.** Entferne den alten Container und starte einen neuen mit demselben Volume:\n\n```bash\ndocker rm -f openlogger\ndocker run -d --name openlogger -p 8000:8000 \\\n  -v openlogger-data:/www/.src/databases \\\n  openlogger\n```\n\n## Gut zu wissen\n\n- `docker run` ohne Volume speichert die Daten nur in diesem Container. Wenn du den Container entfernst, sind deine Logs und Tokens weg.\n- Änderungen an Tokens und an der Konfiguration werden etwa 10 Sekunden nach dem Speichern auf die Festplatte geschrieben. Warte einen Moment, bevor du den Container stoppst.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.326Z"}
{"id":"JapX0M6DV60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/guides/install-docker/","project":"openlogger","version":"1-0","section":"guides","language":"es","title":"Instalar con Docker","summary":"Construye una imagen de Docker desde el repositorio y ejecuta OpenLogger con un volumen para sus datos.","markdown":"---\ntitle: Instalar con Docker\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/guides/install-docker/\nupdated: 2026-11-19T08:02:30.326Z\n---\n\n# Instalar con Docker\n\n> Construye una imagen de Docker desde el repositorio y ejecuta OpenLogger con un volumen para sus datos.\n\nEl repositorio contiene un `Dockerfile`. Construyes la imagen a partir del código y la ejecutas con un volumen, para que tus registros y tokens sobrevivan a un contenedor nuevo.\n\n## Construir la imagen\n\n**1.** Descarga el código:\n\n```bash\ngit clone https://github.com/totaljs/openlogger.git\ncd openlogger\n```\n\n**2.** Construye la imagen:\n\n```bash\ndocker build -t openlogger .\n```\n\n## Ejecutar el contenedor\n\n```bash\ndocker run -d --name openlogger -p 8000:8000 \\\n  -v openlogger-data:/www/.src/databases \\\n  openlogger\n```\n\nAbre `http://127.0.0.1:8000/` en tu navegador y sigue con [Primer arranque](../first-start/).\n\nDentro del contenedor, OpenLogger guarda sus datos en `/www/.src/databases`. El volumen `openlogger-data` contiene los registros, los tokens de API y la configuración, así que puedes borrar el contenedor y arrancar uno nuevo sin perderlos.\n\n## Actualizar a una versión nueva\n\n**1.** Descarga el código nuevo con `git pull` y vuelve a construir la imagen con `docker build -t openlogger .`.\n\n**2.** Borra el contenedor antiguo y arranca uno nuevo con el mismo volumen:\n\n```bash\ndocker rm -f openlogger\ndocker run -d --name openlogger -p 8000:8000 \\\n  -v openlogger-data:/www/.src/databases \\\n  openlogger\n```\n\n## Conviene saber\n\n- `docker run` sin volumen guarda los datos solo en ese contenedor. Si borras el contenedor, borras tus registros y tokens.\n- Los cambios en los tokens y en la configuración se escriben en disco unos 10 segundos después de guardarlos. Espera un momento antes de parar el contenedor.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.326Z"}
{"id":"JapX0M6DV60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/guides/install-docker/","project":"openlogger","version":"1-0","section":"guides","language":"fr","title":"Installer avec Docker","summary":"Construis une image Docker à partir du dépôt et lance OpenLogger avec un volume pour ses données.","markdown":"---\ntitle: Installer avec Docker\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/guides/install-docker/\nupdated: 2026-11-19T08:02:30.326Z\n---\n\n# Installer avec Docker\n\n> Construis une image Docker à partir du dépôt et lance OpenLogger avec un volume pour ses données.\n\nLe dépôt contient un `Dockerfile`. Tu construis l’image à partir du code et tu la lances avec un volume, pour que tes logs et tes jetons survivent à un nouveau conteneur.\n\n## Construire l’image\n\n**1.** Télécharge le code :\n\n```bash\ngit clone https://github.com/totaljs/openlogger.git\ncd openlogger\n```\n\n**2.** Construis l’image :\n\n```bash\ndocker build -t openlogger .\n```\n\n## Lancer le conteneur\n\n```bash\ndocker run -d --name openlogger -p 8000:8000 \\\n  -v openlogger-data:/www/.src/databases \\\n  openlogger\n```\n\nOuvre `http://127.0.0.1:8000/` dans ton navigateur et continue avec [Premier démarrage](../first-start/).\n\nDans le conteneur, OpenLogger garde ses données dans `/www/.src/databases`. Le volume `openlogger-data` contient les logs, les jetons d’API et la configuration, donc tu peux supprimer le conteneur et en démarrer un nouveau sans les perdre.\n\n## Passer à une nouvelle version\n\n**1.** Télécharge le nouveau code avec `git pull` et reconstruis l’image avec `docker build -t openlogger .`.\n\n**2.** Supprime l’ancien conteneur et démarre-en un nouveau avec le même volume :\n\n```bash\ndocker rm -f openlogger\ndocker run -d --name openlogger -p 8000:8000 \\\n  -v openlogger-data:/www/.src/databases \\\n  openlogger\n```\n\n## Bon à savoir\n\n- `docker run` sans volume garde les données seulement dans ce conteneur. Supprimer le conteneur supprime tes logs et tes jetons.\n- Les modifications des jetons et de la configuration sont écrites sur le disque environ 10 secondes après leur enregistrement. Attends un instant avant d’arrêter le conteneur.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.326Z"}
{"id":"JapX0M6DV60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/guides/install-docker/","project":"openlogger","version":"1-0","section":"guides","language":"it","title":"Installare con Docker","summary":"Crea un'immagine Docker dal repository ed esegui OpenLogger con un volume per i suoi dati.","markdown":"---\ntitle: Installare con Docker\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/guides/install-docker/\nupdated: 2026-11-19T08:02:30.326Z\n---\n\n# Installare con Docker\n\n> Crea un'immagine Docker dal repository ed esegui OpenLogger con un volume per i suoi dati.\n\nIl repository contiene un `Dockerfile`. Crei l'immagine dal codice e la esegui con un volume, così i tuoi log e i tuoi token sopravvivono a un nuovo container.\n\n## Creare l'immagine\n\n**1.** Scarica il codice:\n\n```bash\ngit clone https://github.com/totaljs/openlogger.git\ncd openlogger\n```\n\n**2.** Crea l'immagine:\n\n```bash\ndocker build -t openlogger .\n```\n\n## Eseguire il container\n\n```bash\ndocker run -d --name openlogger -p 8000:8000 \\\n  -v openlogger-data:/www/.src/databases \\\n  openlogger\n```\n\nApri `http://127.0.0.1:8000/` nel browser e continua con [Primo avvio](../first-start/).\n\nDentro il container, OpenLogger conserva i suoi dati in `/www/.src/databases`. Il volume `openlogger-data` contiene i log, i token API e la configurazione, così puoi rimuovere il container e avviarne uno nuovo senza perderli.\n\n## Aggiornare a una nuova versione\n\n**1.** Scarica il nuovo codice con `git pull` e crea di nuovo l'immagine con `docker build -t openlogger .`.\n\n**2.** Rimuovi il vecchio container e avviane uno nuovo con lo stesso volume:\n\n```bash\ndocker rm -f openlogger\ndocker run -d --name openlogger -p 8000:8000 \\\n  -v openlogger-data:/www/.src/databases \\\n  openlogger\n```\n\n## Buono a sapersi\n\n- `docker run` senza un volume conserva i dati solo in quel container. Rimuovere il container rimuove i tuoi log e i tuoi token.\n- Le modifiche ai token e alla configurazione vengono scritte su disco circa 10 secondi dopo che le salvi. Aspetta un momento prima di fermare il container.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.326Z"}
{"id":"JapX0M6DV60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/guides/install-docker/","project":"openlogger","version":"1-0","section":"guides","language":"sk","title":"Inštalácia s Dockerom","summary":"Zostav Docker image z repozitára a spusti OpenLogger so zväzkom pre jeho dáta.","markdown":"---\ntitle: \"Inštalácia s Dockerom\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/guides/install-docker/\nupdated: 2026-11-19T08:02:30.326Z\n---\n\n# Inštalácia s Dockerom\n\n> Zostav Docker image z repozitára a spusti OpenLogger so zväzkom pre jeho dáta.\n\nRepozitár obsahuje `Dockerfile`. Image zostavíš z kódu a spustíš ho so zväzkom (volume), takže tvoje logy a tokeny prežijú aj nový kontajner.\n\n## Zostavenie image\n\n**1.** Stiahni kód:\n\n```bash\ngit clone https://github.com/totaljs/openlogger.git\ncd openlogger\n```\n\n**2.** Zostav image:\n\n```bash\ndocker build -t openlogger .\n```\n\n## Spustenie kontajnera\n\n```bash\ndocker run -d --name openlogger -p 8000:8000 \\\n  -v openlogger-data:/www/.src/databases \\\n  openlogger\n```\n\nOtvor v prehliadači `http://127.0.0.1:8000/` a pokračuj v [Prvé spustenie](../first-start/).\n\nV kontajneri OpenLogger uchováva dáta v `/www/.src/databases`. Zväzok `openlogger-data` obsahuje logy, API tokeny a konfiguráciu, takže kontajner môžeš odstrániť a spustiť nový bez toho, aby si o ne prišiel.\n\n## Aktualizácia na novú verziu\n\n**1.** Stiahni nový kód cez `git pull` a znova zostav image cez `docker build -t openlogger .`.\n\n**2.** Odstráň starý kontajner a spusti nový s tým istým zväzkom:\n\n```bash\ndocker rm -f openlogger\ndocker run -d --name openlogger -p 8000:8000 \\\n  -v openlogger-data:/www/.src/databases \\\n  openlogger\n```\n\n## Dobré vedieť\n\n- `docker run` bez zväzku uchováva dáta len v danom kontajneri. Odstránením kontajnera odstrániš aj svoje logy a tokeny.\n- Zmeny tokenov a konfigurácie sa na disk zapíšu asi 10 sekúnd po uložení. Pred zastavením kontajnera chvíľu počkaj.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.326Z"}
{"id":"JapX0K6BV60f","url":"https://totaljs.es/docs/openlogger/1-0/guides/first-start/","project":"openlogger","version":"1-0","section":"guides","language":"en","title":"First start","summary":"Protect the admin interface with a primary access token and find your way around.","markdown":"---\ntitle: First start\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/guides/first-start/\nupdated: 2026-11-19T08:02:30.326Z\n---\n\n# First start\n\n> Protect the admin interface with a primary access token and find your way around.\n\nOn the first start, the admin interface at `/setup/` is open to anyone who can reach the server. Protect it right away with a **primary access token**.\n\n![The start screen of OpenLogger with Logs, Tokens and Configuration](/files/JapX0J6AV61f.webp)\n\n## Set the primary access token\n\n**1.** Open `http://127.0.0.1:8000/setup/` and click **Configuration**.\n\n**2.** Under **Security**, click **Generate** below **Primary access token**, or type your own token.\n\n**3.** Copy the token and keep it in a safe place, for example a password manager.\n\n**4.** Click **SUBMIT**. The message \"The configuration has been saved successfully, but the app needs to be reloaded.\" appears. Click **OK**.\n\nThe app reloads at `/setup/?token=YOUR_TOKEN`. From now on:\n\n- `/setup/` without the token answers `401 Unauthorized`.\n- You open the admin interface at `/setup/?token=YOUR_TOKEN`.\n- The home page `/` shows only the name of the app.\n\nIf you lose the token, see [Access and tokens](../../faq/access/).\n\n## Find your way around\n\nThe icons on the left open the three parts of the app:\n\n| Icon | Opens | What you do there |\n|---|---|---|\n| Clock | **Logs** | [Browse](../logs/), [filter](../filter-logs/), [remove](../remove-logs/) and [download](../download-logs/) logs. |\n| Key | **Tokens** | [API tokens](../api-tokens/) for your apps. |\n| Cog | **Configuration** | [Name and primary access token](../configuration/). |\n\nThe book icon opens the online documentation.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.326Z"}
{"id":"JapX0K6BV60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/guides/first-start/","project":"openlogger","version":"1-0","section":"guides","language":"de","title":"Erster Start","summary":"Schütz die Admin-Oberfläche mit einem Primary Access Token und finde dich zurecht.","markdown":"---\ntitle: Erster Start\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/guides/first-start/\nupdated: 2026-11-19T08:02:30.326Z\n---\n\n# Erster Start\n\n> Schütz die Admin-Oberfläche mit einem Primary Access Token und finde dich zurecht.\n\nBeim ersten Start ist die Admin-Oberfläche unter `/setup/` für jeden offen, der den Server erreichen kann. Schütz sie sofort mit einem **Primary Access Token**.\n\n![Der Startbildschirm von OpenLogger mit Logs, Tokens und Configuration](/files/JapX0J6AV61f.webp)\n\n## Das Primary Access Token festlegen\n\n**1.** Öffne `http://127.0.0.1:8000/setup/` und klick auf **Configuration**.\n\n**2.** Klick unter **Security** auf **Generate** unterhalb von **Primary access token** oder tipp dein eigenes Token ein.\n\n**3.** Kopiere das Token und bewahre es an einem sicheren Ort auf, zum Beispiel in einem Passwortmanager.\n\n**4.** Klick auf **SUBMIT**. Die Meldung „The configuration has been saved successfully, but the app needs to be reloaded.“ erscheint. Klick auf **OK**.\n\nDie App lädt neu unter `/setup/?token=YOUR_TOKEN`. Ab jetzt gilt:\n\n- `/setup/` ohne Token antwortet mit `401 Unauthorized`.\n- Du öffnest die Admin-Oberfläche unter `/setup/?token=YOUR_TOKEN`.\n- Die Startseite `/` zeigt nur den Namen der App.\n\nWenn du das Token verlierst, sieh unter [Zugriff und Tokens](../../faq/access/) nach.\n\n## Dich zurechtfinden\n\nDie Symbole links öffnen die drei Teile der App:\n\n| Symbol | Öffnet | Was du dort machst |\n|---|---|---|\n| Uhr | **Logs** | Logs [durchsehen](../logs/), [filtern](../filter-logs/), [entfernen](../remove-logs/) und [herunterladen](../download-logs/). |\n| Schlüssel | **Tokens** | [API-Tokens](../api-tokens/) für deine Apps. |\n| Zahnrad | **Configuration** | [Name und Primary Access Token](../configuration/). |\n\nDas Buchsymbol öffnet die Online-Dokumentation.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.326Z"}
{"id":"JapX0K6BV60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/guides/first-start/","project":"openlogger","version":"1-0","section":"guides","language":"es","title":"Primer arranque","summary":"Protege la interfaz de administración con un token de acceso principal y aprende a moverte por ella.","markdown":"---\ntitle: Primer arranque\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/guides/first-start/\nupdated: 2026-11-19T08:02:30.326Z\n---\n\n# Primer arranque\n\n> Protege la interfaz de administración con un token de acceso principal y aprende a moverte por ella.\n\nEn el primer arranque, la interfaz de administración en `/setup/` está abierta a cualquiera que pueda llegar al servidor. Protégela enseguida con un **token de acceso principal**.\n\n![La pantalla de inicio de OpenLogger con Logs, Tokens y Configuration](/files/JapX0J6AV61f.webp)\n\n## Poner el token de acceso principal\n\n**1.** Abre `http://127.0.0.1:8000/setup/` y haz clic en **Configuration** (configuración).\n\n**2.** En **Security** (seguridad), haz clic en **Generate** (generar) debajo de **Primary access token**, o escribe tu propio token.\n\n**3.** Copia el token y guárdalo en un lugar seguro, por ejemplo un gestor de contraseñas.\n\n**4.** Haz clic en **SUBMIT**. Aparece el mensaje \"The configuration has been saved successfully, but the app needs to be reloaded.\" (la configuración se ha guardado, pero hay que recargar la app). Haz clic en **OK**.\n\nLa app se recarga en `/setup/?token=YOUR_TOKEN`. A partir de ahora:\n\n- `/setup/` sin el token responde `401 Unauthorized`.\n- Abres la interfaz de administración en `/setup/?token=YOUR_TOKEN`.\n- La página de inicio `/` solo muestra el nombre de la app.\n\nSi pierdes el token, consulta [Acceso y tokens](../../faq/access/).\n\n## Moverte por la app\n\nLos iconos de la izquierda abren las tres partes de la app:\n\n| Icono | Abre | Qué haces ahí |\n|---|---|---|\n| Reloj | **Logs** | [Ver](../logs/), [filtrar](../filter-logs/), [borrar](../remove-logs/) y [descargar](../download-logs/) registros. |\n| Llave | **Tokens** | [Tokens de API](../api-tokens/) para tus apps. |\n| Engranaje | **Configuration** | [Nombre y token de acceso principal](../configuration/). |\n\nEl icono del libro abre la documentación en línea.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.326Z"}
{"id":"JapX0K6BV60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/guides/first-start/","project":"openlogger","version":"1-0","section":"guides","language":"fr","title":"Premier démarrage","summary":"Protège l’interface d’administration avec un jeton d’accès principal et repère-toi dans l’application.","markdown":"---\ntitle: \"Premier démarrage\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/guides/first-start/\nupdated: 2026-11-19T08:02:30.326Z\n---\n\n# Premier démarrage\n\n> Protège l’interface d’administration avec un jeton d’accès principal et repère-toi dans l’application.\n\nAu premier démarrage, l’interface d’administration à l’adresse `/setup/` est ouverte à toute personne qui peut joindre le serveur. Protège-la tout de suite avec un **primary access token** (jeton d’accès principal).\n\n![L’écran d’accueil d’OpenLogger avec Logs, Tokens et Configuration](/files/JapX0J6AV61f.webp)\n\n## Définir le jeton d’accès principal\n\n**1.** Ouvre `http://127.0.0.1:8000/setup/` et clique sur **Configuration**.\n\n**2.** Sous **Security**, clique sur **Generate** sous **Primary access token**, ou tape ton propre jeton.\n\n**3.** Copie le jeton et garde-le en lieu sûr, par exemple dans un gestionnaire de mots de passe.\n\n**4.** Clique sur **SUBMIT**. Le message « The configuration has been saved successfully, but the app needs to be reloaded. » apparaît. Clique sur **OK**.\n\nL’application se recharge à l’adresse `/setup/?token=YOUR_TOKEN`. À partir de maintenant :\n\n- `/setup/` sans le jeton répond `401 Unauthorized`.\n- Tu ouvres l’interface d’administration à l’adresse `/setup/?token=YOUR_TOKEN`.\n- La page d’accueil `/` n’affiche que le nom de l’application.\n\nSi tu perds le jeton, consulte [Accès et jetons](../../faq/access/).\n\n## Te repérer\n\nLes icônes à gauche ouvrent les trois parties de l’application :\n\n| Icône | Ouvre | Ce que tu y fais |\n|---|---|---|\n| Horloge | **Logs** | [Parcourir](../logs/), [filtrer](../filter-logs/), [supprimer](../remove-logs/) et [télécharger](../download-logs/) les logs. |\n| Clé | **Tokens** | Les [jetons d’API](../api-tokens/) de tes applications. |\n| Roue dentée | **Configuration** | Le [nom et le jeton d’accès principal](../configuration/). |\n\nL’icône de livre ouvre la documentation en ligne.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.326Z"}
{"id":"JapX0K6BV60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/guides/first-start/","project":"openlogger","version":"1-0","section":"guides","language":"it","title":"Primo avvio","summary":"Proteggi l'interfaccia di amministrazione con un token di accesso principale e impara a orientarti.","markdown":"---\ntitle: Primo avvio\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/guides/first-start/\nupdated: 2026-11-19T08:02:30.326Z\n---\n\n# Primo avvio\n\n> Proteggi l'interfaccia di amministrazione con un token di accesso principale e impara a orientarti.\n\nAl primo avvio, l'interfaccia di amministrazione su `/setup/` è aperta a chiunque possa raggiungere il server. Proteggila subito con un **token di accesso principale**.\n\n![La schermata iniziale di OpenLogger con Logs, Tokens e Configuration](/files/JapX0J6AV61f.webp)\n\n## Impostare il token di accesso principale\n\n**1.** Apri `http://127.0.0.1:8000/setup/` e fai clic su **Configuration**.\n\n**2.** Sotto **Security**, fai clic su **Generate** sotto **Primary access token**, oppure scrivi un tuo token.\n\n**3.** Copia il token e conservalo in un posto sicuro, per esempio un gestore di password.\n\n**4.** Fai clic su **SUBMIT**. Appare il messaggio \"The configuration has been saved successfully, but the app needs to be reloaded.\". Fai clic su **OK**.\n\nL'app si ricarica su `/setup/?token=YOUR_TOKEN`. Da questo momento:\n\n- `/setup/` senza il token risponde `401 Unauthorized`.\n- Apri l'interfaccia di amministrazione su `/setup/?token=YOUR_TOKEN`.\n- La home page `/` mostra solo il nome dell'app.\n\nSe perdi il token, leggi [Accesso e token](../../faq/access/).\n\n## Orientarsi\n\nLe icone a sinistra aprono le tre parti dell'app:\n\n| Icona | Apre | Cosa ci fai |\n|---|---|---|\n| Orologio | **Logs** | [Sfogli](../logs/), [filtri](../filter-logs/), [rimuovi](../remove-logs/) e [scarichi](../download-logs/) i log. |\n| Chiave | **Tokens** | [Token API](../api-tokens/) per le tue app. |\n| Ingranaggio | **Configuration** | [Nome e token di accesso principale](../configuration/). |\n\nL'icona a libro apre la documentazione online.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.326Z"}
{"id":"JapX0K6BV60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/guides/first-start/","project":"openlogger","version":"1-0","section":"guides","language":"sk","title":"Prvé spustenie","summary":"Ochráň administráciu hlavným prístupovým tokenom a zorientuj sa.","markdown":"---\ntitle: \"Prvé spustenie\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/guides/first-start/\nupdated: 2026-11-19T08:02:30.326Z\n---\n\n# Prvé spustenie\n\n> Ochráň administráciu hlavným prístupovým tokenom a zorientuj sa.\n\nPri prvom spustení je administrácia na `/setup/` otvorená pre každého, kto sa dostane na server. Hneď ju ochráň **hlavným prístupovým tokenom**.\n\n![Úvodná obrazovka OpenLogger s Logs, Tokens a Configuration](/files/JapX0J6AV61f.webp)\n\n## Nastavenie hlavného prístupového tokenu\n\n**1.** Otvor `http://127.0.0.1:8000/setup/` a klikni na **Configuration**.\n\n**2.** V časti **Security** klikni na **Generate** pod **Primary access token** alebo napíš vlastný token.\n\n**3.** Skopíruj token a uchovaj ho na bezpečnom mieste, napríklad v správcovi hesiel.\n\n**4.** Klikni na **SUBMIT**. Objaví sa správa „The configuration has been saved successfully, but the app needs to be reloaded.“ Klikni na **OK**.\n\nAplikácia sa znova načíta na `/setup/?token=YOUR_TOKEN`. Odteraz:\n\n- `/setup/` bez tokenu odpovedá `401 Unauthorized`.\n- Administráciu otváraš na `/setup/?token=YOUR_TOKEN`.\n- Domovská stránka `/` ukazuje len názov aplikácie.\n\nAk token stratíš, pozri si [Prístup a tokeny](../../faq/access/).\n\n## Orientácia\n\nIkony vľavo otvárajú tri časti aplikácie:\n\n| Ikona | Otvorí | Čo tam robíš |\n|---|---|---|\n| Hodiny | **Logs** | [Prehliadaš](../logs/), [filtruješ](../filter-logs/), [odstraňuješ](../remove-logs/) a [sťahuješ](../download-logs/) logy. |\n| Kľúč | **Tokens** | [API tokeny](../api-tokens/) pre tvoje aplikácie. |\n| Ozubené koliesko | **Configuration** | [Názov a hlavný prístupový token](../configuration/). |\n\nIkona knihy otvorí online dokumentáciu.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:30.326Z"}
{"id":"JapX065yV61f","url":"https://totaljs.es/docs/openlogger/1-0/guides/api-tokens/","project":"openlogger","version":"1-0","section":"guides","language":"en","title":"API tokens","summary":"Create a token for each app that sends logs, copy it, and change it.","markdown":"---\ntitle: API tokens\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/guides/api-tokens/\nupdated: 2026-11-19T08:02:28.886Z\n---\n\n# API tokens\n\n> Create a token for each app that sends logs, copy it, and change it.\n\nYour apps send logs with an **API token**. Give every app its own token, so you can change one without touching the others.\n\n![The Tokens screen with the tokens Demo project and Demo shop](/files/JapX035wV61f.webp)\n\n## Create a token\n\n**1.** Click the key icon on the left to open **Tokens**, then click **Create**.\n\n**2.** Enter a **Name**, for example `Demo shop`.\n\n**3.** **Access token** is already filled with a random value. Keep it, or enter your own (5 to 50 characters).\n\n**4.** Click **SUBMIT**.\n\n![The Create token form with Name and Access token](/files/JapX045xV60f.webp)\n\nThe option **Allow read list of profiles** has no effect in OpenLogger. You can leave it as it is.\n\n## Copy the token for your app\n\nClick the cog of a token and choose **Copy URL address**. OpenLogger copies the address that your app sends logs to, with the token in it, for example `https://logs.example.com/?token=YOUR_TOKEN`.\n\nYou can use this address as it is, or take the token from it and send it in the `x-token` header. See [REST API overview](../../reference/rest-api/).\n\n## What a token can do\n\nA token can only send logs. It cannot read logs and gives no access to the admin interface. Use the primary access token to [read logs from a script](../../reference/read-logs/).\n\n## Change or revoke a token\n\n**1.** Click the token card, or click its cog and choose **Edit**. The **Update token** form opens.\n\n**2.** Change **Access token** and click **SUBMIT**.\n\nThe old value stops working at once, and the app gets `401 Unauthorized` until you give it the new value. Use this to revoke a token: give it a new random value that you do not hand out.\n\n## Good to know\n\n- Keep tokens out of code that runs in the browser. Send logs from your server.\n- After six requests with a wrong token, OpenLogger blocks the address that sent them for up to 15 minutes, even with a valid token. See [Errors](../../reference/errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:28.886Z"}
{"id":"JapX065yV61f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/guides/api-tokens/","project":"openlogger","version":"1-0","section":"guides","language":"de","title":"API-Tokens","summary":"Erstell ein Token für jede App, die Logs sendet, kopiere es und ändere es.","markdown":"---\ntitle: API-Tokens\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/guides/api-tokens/\nupdated: 2026-11-19T08:02:28.886Z\n---\n\n# API-Tokens\n\n> Erstell ein Token für jede App, die Logs sendet, kopiere es und ändere es.\n\nDeine Apps senden Logs mit einem **API-Token**. Gib jeder App ihr eigenes Token, damit du eines ändern kannst, ohne die anderen anzufassen.\n\n![Der Bildschirm Tokens mit den Tokens Demo project und Demo shop](/files/JapX035wV61f.webp)\n\n## Ein Token erstellen\n\n**1.** Klick links auf das Schlüsselsymbol, um **Tokens** zu öffnen, und dann auf **Create**.\n\n**2.** Gib einen **Name** ein, zum Beispiel `Demo shop`.\n\n**3.** **Access token** ist schon mit einem Zufallswert gefüllt. Behalte ihn oder gib deinen eigenen ein (5 bis 50 Zeichen).\n\n**4.** Klick auf **SUBMIT**.\n\n![Das Formular Create token mit Name und Access token](/files/JapX045xV60f.webp)\n\nDie Option **Allow read list of profiles** hat in OpenLogger keine Wirkung. Du kannst sie lassen, wie sie ist.\n\n## Das Token für deine App kopieren\n\nKlick auf das Zahnrad eines Tokens und wähle **Copy URL address**. OpenLogger kopiert die Adresse, an die deine App Logs sendet, mit dem Token darin, zum Beispiel `https://logs.example.com/?token=YOUR_TOKEN`.\n\nDu kannst diese Adresse so verwenden, wie sie ist, oder das Token herausnehmen und im Header `x-token` schicken. Mehr dazu unter [Überblick über die REST API](../../reference/rest-api/).\n\n## Was ein Token kann\n\nEin Token kann nur Logs senden. Es kann keine Logs lesen und gibt keinen Zugang zur Admin-Oberfläche. Nutze das Primary Access Token, um [Logs aus einem Skript zu lesen](../../reference/read-logs/).\n\n## Ein Token ändern oder widerrufen\n\n**1.** Klick auf die Karte des Tokens oder auf sein Zahnrad und wähle **Edit**. Das Formular **Update token** öffnet sich.\n\n**2.** Ändere **Access token** und klick auf **SUBMIT**.\n\nDer alte Wert funktioniert sofort nicht mehr, und die App bekommt `401 Unauthorized`, bis du ihr den neuen Wert gibst. So widerrufst du ein Token: Gib ihm einen neuen Zufallswert, den du an niemanden weitergibst.\n\n## Gut zu wissen\n\n- Halte Tokens aus Code heraus, der im Browser läuft. Sende Logs von deinem Server.\n- Nach sechs Anfragen mit einem falschen Token blockiert OpenLogger die Adresse, von der sie kamen, für bis zu 15 Minuten, auch mit einem gültigen Token. Mehr dazu unter [Fehler](../../reference/errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:28.886Z"}
{"id":"JapX065yV61f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/guides/api-tokens/","project":"openlogger","version":"1-0","section":"guides","language":"es","title":"Tokens de API","summary":"Crea un token para cada app que envía registros, cópialo y cámbialo.","markdown":"---\ntitle: Tokens de API\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/guides/api-tokens/\nupdated: 2026-11-19T08:02:28.886Z\n---\n\n# Tokens de API\n\n> Crea un token para cada app que envía registros, cópialo y cámbialo.\n\nTus apps envían registros con un **token de API**. Dale a cada app su propio token, para que puedas cambiar uno sin tocar los demás.\n\n![La pantalla Tokens con los tokens Demo project y Demo shop](/files/JapX035wV61f.webp)\n\n## Crear un token\n\n**1.** Haz clic en el icono de la llave de la izquierda para abrir **Tokens** y luego en **Create** (crear).\n\n**2.** Escribe un **Name** (nombre), por ejemplo `Demo shop`.\n\n**3.** **Access token** ya viene relleno con un valor aleatorio. Déjalo o escribe el tuyo (de 5 a 50 caracteres).\n\n**4.** Haz clic en **SUBMIT**.\n\n![El formulario Create token con Name y Access token](/files/JapX045xV60f.webp)\n\nLa opción **Allow read list of profiles** no tiene ningún efecto en OpenLogger. Puedes dejarla como está.\n\n## Copiar el token para tu app\n\nHaz clic en el engranaje de un token y elige **Copy URL address** (copiar la dirección URL). OpenLogger copia la dirección a la que tu app envía los registros, con el token incluido, por ejemplo `https://logs.example.com/?token=YOUR_TOKEN`.\n\nPuedes usar esta dirección tal cual, o sacar el token de ella y enviarlo en la cabecera `x-token`. Consulta [Resumen de la API REST](../../reference/rest-api/).\n\n## Qué puede hacer un token\n\nUn token solo puede enviar registros. No puede leer registros ni da acceso a la interfaz de administración. Usa el token de acceso principal para [leer los registros desde un script](../../reference/read-logs/).\n\n## Cambiar o revocar un token\n\n**1.** Haz clic en la tarjeta del token, o haz clic en su engranaje y elige **Edit** (editar). Se abre el formulario **Update token**.\n\n**2.** Cambia **Access token** y haz clic en **SUBMIT**.\n\nEl valor antiguo deja de funcionar al momento, y la app recibe `401 Unauthorized` hasta que le des el valor nuevo. Úsalo para revocar un token: dale un valor aleatorio nuevo que no le pases a nadie.\n\n## Conviene saber\n\n- No pongas los tokens en código que se ejecuta en el navegador. Envía los registros desde tu servidor.\n- Después de seis peticiones con un token incorrecto, OpenLogger bloquea la dirección que las ha enviado durante un máximo de 15 minutos, incluso con un token válido. Consulta [Errores](../../reference/errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:28.886Z"}
{"id":"JapX065yV61f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/guides/api-tokens/","project":"openlogger","version":"1-0","section":"guides","language":"fr","title":"Jetons d’API","summary":"Crée un jeton pour chaque application qui envoie des logs, copie-le et modifie-le.","markdown":"---\ntitle: \"Jetons d’API\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/guides/api-tokens/\nupdated: 2026-11-19T08:02:28.886Z\n---\n\n# Jetons d’API\n\n> Crée un jeton pour chaque application qui envoie des logs, copie-le et modifie-le.\n\nTes applications envoient des logs avec un **API token** (jeton d’API). Donne à chaque application son propre jeton, pour pouvoir en changer un sans toucher aux autres.\n\n![L’écran Tokens avec les jetons Demo project et Demo shop](/files/JapX035wV61f.webp)\n\n## Créer un jeton\n\n**1.** Clique sur l’icône de clé à gauche pour ouvrir **Tokens**, puis clique sur **Create**.\n\n**2.** Saisis un **Name**, par exemple `Demo shop`.\n\n**3.** **Access token** est déjà rempli avec une valeur aléatoire. Garde-la, ou saisis la tienne (de 5 à 50 caractères).\n\n**4.** Clique sur **SUBMIT**.\n\n![Le formulaire Create token avec Name et Access token](/files/JapX045xV60f.webp)\n\nL’option **Allow read list of profiles** n’a aucun effet dans OpenLogger. Tu peux la laisser telle quelle.\n\n## Copier le jeton pour ton application\n\nClique sur la roue dentée d’un jeton et choisis **Copy URL address** (copier l’adresse URL). OpenLogger copie l’adresse à laquelle ton application envoie les logs, avec le jeton dedans, par exemple `https://logs.example.com/?token=YOUR_TOKEN`.\n\nTu peux utiliser cette adresse telle quelle, ou en extraire le jeton et l’envoyer dans l’en-tête `x-token`. Consulte [Vue d’ensemble de l’API REST](../../reference/rest-api/).\n\n## Ce qu’un jeton peut faire\n\nUn jeton peut seulement envoyer des logs. Il ne peut pas lire les logs et ne donne aucun accès à l’interface d’administration. Utilise le jeton d’accès principal pour [lire les logs depuis un script](../../reference/read-logs/).\n\n## Modifier ou révoquer un jeton\n\n**1.** Clique sur la carte du jeton, ou clique sur sa roue dentée et choisis **Edit**. Le formulaire **Update token** s’ouvre.\n\n**2.** Modifie **Access token** et clique sur **SUBMIT**.\n\nL’ancienne valeur cesse de fonctionner tout de suite, et l’application reçoit `401 Unauthorized` jusqu’à ce que tu lui donnes la nouvelle valeur. Sers-t’en pour révoquer un jeton : donne-lui une nouvelle valeur aléatoire que tu ne communiques à personne.\n\n## Bon à savoir\n\n- Ne mets pas les jetons dans du code qui tourne dans le navigateur. Envoie les logs depuis ton serveur.\n- Après six requêtes avec un mauvais jeton, OpenLogger bloque l’adresse qui les a envoyées jusqu’à 15 minutes, même avec un jeton valide. Consulte [Erreurs](../../reference/errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:28.886Z"}
{"id":"JapX065yV61f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/guides/api-tokens/","project":"openlogger","version":"1-0","section":"guides","language":"it","title":"Token API","summary":"Crea un token per ogni app che invia log, copialo e cambialo.","markdown":"---\ntitle: Token API\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/guides/api-tokens/\nupdated: 2026-11-19T08:02:28.886Z\n---\n\n# Token API\n\n> Crea un token per ogni app che invia log, copialo e cambialo.\n\nLe tue app inviano i log con un **token API**. Dai a ogni app il suo token, così puoi cambiarne uno senza toccare gli altri.\n\n![La schermata Tokens con i token Demo project e Demo shop](/files/JapX035wV61f.webp)\n\n## Creare un token\n\n**1.** Fai clic sull'icona a chiave a sinistra per aprire **Tokens**, poi fai clic su **Create**.\n\n**2.** Inserisci un **Name**, per esempio `Demo shop`.\n\n**3.** **Access token** è già compilato con un valore casuale. Tienilo, oppure inserisci il tuo (da 5 a 50 caratteri).\n\n**4.** Fai clic su **SUBMIT**.\n\n![Il modulo Create token con Name e Access token](/files/JapX045xV60f.webp)\n\nL'opzione **Allow read list of profiles** non ha effetto in OpenLogger. Puoi lasciarla com'è.\n\n## Copiare il token per la tua app\n\nFai clic sull'ingranaggio di un token e scegli **Copy URL address**. OpenLogger copia l'indirizzo a cui la tua app invia i log, con il token incluso, per esempio `https://logs.example.com/?token=YOUR_TOKEN`.\n\nPuoi usare questo indirizzo così com'è, oppure prendere il token e inviarlo nell'header `x-token`. Leggi [Panoramica della REST API](../../reference/rest-api/).\n\n## Cosa può fare un token\n\nUn token può solo inviare log. Non può leggere i log e non dà accesso all'interfaccia di amministrazione. Usa il token di accesso principale per [leggere i log da uno script](../../reference/read-logs/).\n\n## Cambiare o revocare un token\n\n**1.** Fai clic sulla scheda del token, oppure sul suo ingranaggio e scegli **Edit**. Si apre il modulo **Update token**.\n\n**2.** Cambia **Access token** e fai clic su **SUBMIT**.\n\nIl vecchio valore smette subito di funzionare, e l'app riceve `401 Unauthorized` finché non le dai il nuovo valore. Usalo per revocare un token: dagli un nuovo valore casuale che non consegni a nessuno.\n\n## Buono a sapersi\n\n- Tieni i token fuori dal codice che gira nel browser. Invia i log dal tuo server.\n- Dopo sei richieste con un token sbagliato, OpenLogger blocca l'indirizzo che le ha inviate per un massimo di 15 minuti, anche con un token valido. Leggi [Errori](../../reference/errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:28.886Z"}
{"id":"JapX065yV61f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/guides/api-tokens/","project":"openlogger","version":"1-0","section":"guides","language":"sk","title":"API tokeny","summary":"Vytvor token pre každú aplikáciu, ktorá posiela logy, skopíruj ho a zmeň ho.","markdown":"---\ntitle: API tokeny\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/guides/api-tokens/\nupdated: 2026-11-19T08:02:28.886Z\n---\n\n# API tokeny\n\n> Vytvor token pre každú aplikáciu, ktorá posiela logy, skopíruj ho a zmeň ho.\n\nTvoje aplikácie posielajú logy s **API tokenom**. Daj každej aplikácii vlastný token, aby si mohol jeden zmeniť bez toho, aby si sa dotkol ostatných.\n\n![Obrazovka Tokens s tokenmi Demo project a Demo shop](/files/JapX035wV61f.webp)\n\n## Vytvorenie tokenu\n\n**1.** Klikni na ikonu kľúča vľavo, otvorí sa **Tokens**, a potom klikni na **Create**.\n\n**2.** Zadaj **Name**, napríklad `Demo shop`.\n\n**3.** **Access token** je už vyplnený náhodnou hodnotou. Ponechaj ju alebo zadaj vlastnú (5 až 50 znakov).\n\n**4.** Klikni na **SUBMIT**.\n\n![Formulár Create token s poľami Name a Access token](/files/JapX045xV60f.webp)\n\nMožnosť **Allow read list of profiles** nemá v OpenLogger žiadny účinok. Môžeš ju nechať tak, ako je.\n\n## Skopírovanie tokenu pre aplikáciu\n\nKlikni na ozubené koliesko tokenu a zvoľ **Copy URL address**. OpenLogger skopíruje adresu, na ktorú tvoja aplikácia posiela logy, aj s tokenom, napríklad `https://logs.example.com/?token=YOUR_TOKEN`.\n\nTúto adresu môžeš použiť tak, ako je, alebo z nej vezmi token a posielaj ho v hlavičke `x-token`. Pozri si [Prehľad REST API](../../reference/rest-api/).\n\n## Čo token dokáže\n\nToken dokáže len posielať logy. Nevie logy čítať a nedáva prístup do administrácie. Na [čítanie logov zo skriptu](../../reference/read-logs/) použi hlavný prístupový token.\n\n## Zmena alebo zrušenie tokenu\n\n**1.** Klikni na kartu tokenu alebo na jeho ozubené koliesko a zvoľ **Edit**. Otvorí sa formulár **Update token**.\n\n**2.** Zmeň **Access token** a klikni na **SUBMIT**.\n\nStará hodnota hneď prestane fungovať a aplikácia dostáva `401 Unauthorized`, kým jej nedáš novú hodnotu. Takto token zrušíš: daj mu novú náhodnú hodnotu, ktorú nikomu neodovzdáš.\n\n## Dobré vedieť\n\n- Nedávaj tokeny do kódu, ktorý beží v prehliadači. Logy posielaj zo svojho servera.\n- Po šiestich požiadavkách s nesprávnym tokenom OpenLogger zablokuje adresu, ktorá ich poslala, až na 15 minút, a to aj s platným tokenom. Pozri si [Chyby](../../reference/errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:28.886Z"}
{"id":"JapX0X6NV60f","url":"https://totaljs.es/docs/openlogger/1-0/guides/logs/","project":"openlogger","version":"1-0","section":"guides","language":"en","title":"Browse logs","summary":"Find your way around the Logs screen: the columns, the pages and the buttons.","markdown":"---\ntitle: Browse logs\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/guides/logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Browse logs\n\n> Find your way around the Logs screen: the columns, the pages and the buttons.\n\n**Logs** shows every log that your apps sent, newest first. Click the clock icon on the left to open it.\n\n![The Logs screen with logs from Demo project and Demo shop](/files/JapX0W6MV61f.webp)\n\n## The columns\n\n| Column | What it shows |\n|---|---|\n| **App** | The app that sent the log, in a colour of its own. |\n| **Type** | `info`, `warning`, `error` or `success`. |\n| **Created** | When OpenLogger received the log. |\n| **Schema** | The part of the app the log belongs to, for example `Orders`. |\n| **User** | The name of the user. |\n| **Message** | The text of the log. |\n| **Device** | The device or browser of the user. |\n| **URL address** | The address the user was on. |\n| **IP address** | The IP address of the user. |\n\nWhat a column holds depends on what your app sends. See [Send a log](../../reference/send-log/).\n\n## Pages\n\nThe table shows 100 logs per page. Use the arrows at the bottom to move between pages. The number of logs is at the bottom right.\n\n## The buttons\n\n| Button | What it does |\n|---|---|\n| **Refresh** | Loads the newest logs. |\n| **Download** | Downloads the log file. See [Download logs](../download-logs/). |\n| **Remove** | Removes the checked logs. See [Remove and clear logs](../remove-logs/). |\n| **Clear** | Removes all logs. |\n\n## More\n\n- Find logs with the filter row: [Filter and sort logs](../filter-logs/).\n- Double-click a log to see all its details: [Log detail](../log-detail/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0X6NV60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/guides/logs/","project":"openlogger","version":"1-0","section":"guides","language":"de","title":"Logs durchsehen","summary":"Finde dich im Bildschirm Logs zurecht: die Spalten, die Seiten und die Buttons.","markdown":"---\ntitle: Logs durchsehen\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/guides/logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Logs durchsehen\n\n> Finde dich im Bildschirm Logs zurecht: die Spalten, die Seiten und die Buttons.\n\n**Logs** zeigt jedes Log, das deine Apps geschickt haben, die neuesten zuerst. Klick links auf das Uhrsymbol, um es zu öffnen.\n\n![Der Bildschirm Logs mit Logs von Demo project und Demo shop](/files/JapX0W6MV61f.webp)\n\n## Die Spalten\n\n| Spalte | Was sie zeigt |\n|---|---|\n| **App** | Die App, die das Log geschickt hat, in ihrer eigenen Farbe. |\n| **Type** | `info`, `warning`, `error` oder `success`. |\n| **Created** | Wann OpenLogger das Log empfangen hat. |\n| **Schema** | Der Teil der App, zu dem das Log gehört, zum Beispiel `Orders`. |\n| **User** | Der Name des Benutzers. |\n| **Message** | Der Text des Logs. |\n| **Device** | Das Gerät oder der Browser des Benutzers. |\n| **URL address** | Die Adresse, auf der der Benutzer war. |\n| **IP address** | Die IP-Adresse des Benutzers. |\n\nWas in einer Spalte steht, hängt davon ab, was deine App schickt. Mehr dazu unter [Ein Log senden](../../reference/send-log/).\n\n## Seiten\n\nDie Tabelle zeigt 100 Logs pro Seite. Mit den Pfeilen unten wechselst du zwischen den Seiten. Die Anzahl der Logs steht unten rechts.\n\n## Die Buttons\n\n| Button | Was er macht |\n|---|---|\n| **Refresh** | Lädt die neuesten Logs. |\n| **Download** | Lädt die Log-Datei herunter. Mehr dazu unter [Logs herunterladen](../download-logs/). |\n| **Remove** | Entfernt die angehakten Logs. Mehr dazu unter [Logs entfernen und leeren](../remove-logs/). |\n| **Clear** | Entfernt alle Logs. |\n\n## Mehr\n\n- Logs mit der Filterzeile finden: [Logs filtern und sortieren](../filter-logs/).\n- Doppelklick auf ein Log, um alle Details zu sehen: [Log-Detail](../log-detail/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0X6NV60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/guides/logs/","project":"openlogger","version":"1-0","section":"guides","language":"es","title":"Explorar los registros","summary":"Muévete por la pantalla Logs: las columnas, las páginas y los botones.","markdown":"---\ntitle: Explorar los registros\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/guides/logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Explorar los registros\n\n> Muévete por la pantalla Logs: las columnas, las páginas y los botones.\n\n**Logs** (registros) muestra todos los registros que han enviado tus apps, los más recientes primero. Haz clic en el icono del reloj de la izquierda para abrirla.\n\n![La pantalla Logs con registros de Demo project y Demo shop](/files/JapX0W6MV61f.webp)\n\n## Las columnas\n\n| Columna | Qué muestra |\n|---|---|\n| **App** | La app que envió el registro, con un color propio. |\n| **Type** | `info`, `warning`, `error` o `success`. |\n| **Created** | Cuándo recibió OpenLogger el registro. |\n| **Schema** | La parte de la app a la que pertenece el registro, por ejemplo `Orders`. |\n| **User** | El nombre del usuario. |\n| **Message** | El texto del registro. |\n| **Device** | El dispositivo o el navegador del usuario. |\n| **URL address** | La dirección en la que estaba el usuario. |\n| **IP address** | La dirección IP del usuario. |\n\nLo que contiene cada columna depende de lo que envía tu app. Consulta [Enviar un registro](../../reference/send-log/).\n\n## Páginas\n\nLa tabla muestra 100 registros por página. Usa las flechas de abajo para pasar de una página a otra. El número de registros está abajo a la derecha.\n\n## Los botones\n\n| Botón | Qué hace |\n|---|---|\n| **Refresh** | Carga los registros más recientes. |\n| **Download** | Descarga el archivo de registros. Consulta [Descargar los registros](../download-logs/). |\n| **Remove** | Borra los registros marcados. Consulta [Borrar y vaciar los registros](../remove-logs/). |\n| **Clear** | Borra todos los registros. |\n\n## Más\n\n- Encuentra registros con la fila de filtros: [Filtrar y ordenar los registros](../filter-logs/).\n- Haz doble clic en un registro para ver todos sus detalles: [Detalle del registro](../log-detail/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0X6NV60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/guides/logs/","project":"openlogger","version":"1-0","section":"guides","language":"fr","title":"Parcourir les logs","summary":"Repère-toi dans l’écran Logs : les colonnes, les pages et les boutons.","markdown":"---\ntitle: Parcourir les logs\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/guides/logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Parcourir les logs\n\n> Repère-toi dans l’écran Logs : les colonnes, les pages et les boutons.\n\n**Logs** affiche tous les logs que tes applications ont envoyés, les plus récents en premier. Clique sur l’icône d’horloge à gauche pour l’ouvrir.\n\n![L’écran Logs avec des logs de Demo project et Demo shop](/files/JapX0W6MV61f.webp)\n\n## Les colonnes\n\n| Colonne | Ce qu’elle affiche |\n|---|---|\n| **App** | L’application qui a envoyé le log, dans une couleur qui lui est propre. |\n| **Type** | `info`, `warning`, `error` ou `success`. |\n| **Created** | Le moment où OpenLogger a reçu le log. |\n| **Schema** | La partie de l’application à laquelle le log appartient, par exemple `Orders`. |\n| **User** | Le nom de l’utilisateur. |\n| **Message** | Le texte du log. |\n| **Device** | L’appareil ou le navigateur de l’utilisateur. |\n| **URL address** | L’adresse où se trouvait l’utilisateur. |\n| **IP address** | L’adresse IP de l’utilisateur. |\n\nLe contenu d’une colonne dépend de ce que ton application envoie. Consulte [Envoyer un log](../../reference/send-log/).\n\n## Pages\n\nLe tableau affiche 100 logs par page. Utilise les flèches en bas pour passer d’une page à l’autre. Le nombre de logs est en bas à droite.\n\n## Les boutons\n\n| Bouton | Ce qu’il fait |\n|---|---|\n| **Refresh** | Charge les logs les plus récents. |\n| **Download** | Télécharge le fichier des logs. Consulte [Télécharger les logs](../download-logs/). |\n| **Remove** | Supprime les logs cochés. Consulte [Supprimer et vider les logs](../remove-logs/). |\n| **Clear** | Supprime tous les logs. |\n\n## Plus\n\n- Trouve des logs avec la ligne de filtres : [Filtrer et trier les logs](../filter-logs/).\n- Double-clique sur un log pour voir tous ses détails : [Détail d’un log](../log-detail/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0X6NV60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/guides/logs/","project":"openlogger","version":"1-0","section":"guides","language":"it","title":"Sfogliare i log","summary":"Orientati nella schermata Logs: le colonne, le pagine e i pulsanti.","markdown":"---\ntitle: Sfogliare i log\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/guides/logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Sfogliare i log\n\n> Orientati nella schermata Logs: le colonne, le pagine e i pulsanti.\n\n**Logs** mostra tutti i log che le tue app hanno inviato, dal più recente. Fai clic sull'icona a orologio a sinistra per aprirla.\n\n![La schermata Logs con i log di Demo project e Demo shop](/files/JapX0W6MV61f.webp)\n\n## Le colonne\n\n| Colonna | Cosa mostra |\n|---|---|\n| **App** | L'app che ha inviato il log, con un suo colore. |\n| **Type** | `info`, `warning`, `error` o `success`. |\n| **Created** | Quando OpenLogger ha ricevuto il log. |\n| **Schema** | La parte dell'app a cui appartiene il log, per esempio `Orders`. |\n| **User** | Il nome dell'utente. |\n| **Message** | Il testo del log. |\n| **Device** | Il dispositivo o il browser dell'utente. |\n| **URL address** | L'indirizzo in cui si trovava l'utente. |\n| **IP address** | L'indirizzo IP dell'utente. |\n\nIl contenuto di una colonna dipende da ciò che invia la tua app. Leggi [Inviare un log](../../reference/send-log/).\n\n## Pagine\n\nLa tabella mostra 100 log per pagina. Usa le frecce in basso per spostarti tra le pagine. Il numero di log è in basso a destra.\n\n## I pulsanti\n\n| Pulsante | Cosa fa |\n|---|---|\n| **Refresh** | Carica i log più recenti. |\n| **Download** | Scarica il file dei log. Leggi [Scaricare i log](../download-logs/). |\n| **Remove** | Rimuove i log selezionati. Leggi [Rimuovere e svuotare i log](../remove-logs/). |\n| **Clear** | Rimuove tutti i log. |\n\n## Altro\n\n- Trova i log con la riga dei filtri: [Filtrare e ordinare i log](../filter-logs/).\n- Fai doppio clic su un log per vedere tutti i suoi dettagli: [Dettaglio di un log](../log-detail/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0X6NV60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/guides/logs/","project":"openlogger","version":"1-0","section":"guides","language":"sk","title":"Prehliadanie logov","summary":"Zorientuj sa na obrazovke Logs: stĺpce, stránky a tlačidlá.","markdown":"---\ntitle: Prehliadanie logov\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/guides/logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Prehliadanie logov\n\n> Zorientuj sa na obrazovke Logs: stĺpce, stránky a tlačidlá.\n\n**Logs** ukazuje každý log, ktorý tvoje aplikácie poslali, najnovšie navrchu. Otvoríš ju kliknutím na ikonu hodín vľavo.\n\n![Obrazovka Logs s logmi z Demo project a Demo shop](/files/JapX0W6MV61f.webp)\n\n## Stĺpce\n\n| Stĺpec | Čo ukazuje |\n|---|---|\n| **App** | Aplikáciu, ktorá log poslala, vo vlastnej farbe. |\n| **Type** | `info`, `warning`, `error` alebo `success`. |\n| **Created** | Kedy OpenLogger log prijal. |\n| **Schema** | Časť aplikácie, ku ktorej log patrí, napríklad `Orders`. |\n| **User** | Meno používateľa. |\n| **Message** | Text logu. |\n| **Device** | Zariadenie alebo prehliadač používateľa. |\n| **URL address** | Adresu, na ktorej bol používateľ. |\n| **IP address** | IP adresu používateľa. |\n\nČo stĺpec obsahuje, závisí od toho, čo tvoja aplikácia posiela. Pozri si [Poslanie logu](../../reference/send-log/).\n\n## Stránky\n\nTabuľka ukazuje 100 logov na stránku. Medzi stránkami sa presúvaš šípkami dole. Počet logov je vpravo dole.\n\n## Tlačidlá\n\n| Tlačidlo | Čo robí |\n|---|---|\n| **Refresh** | Načíta najnovšie logy. |\n| **Download** | Stiahne súbor s logmi. Pozri si [Stiahnutie logov](../download-logs/). |\n| **Remove** | Odstráni začiarknuté logy. Pozri si [Odstránenie a vymazanie logov](../remove-logs/). |\n| **Clear** | Odstráni všetky logy. |\n\n## Viac\n\n- Hľadanie logov pomocou riadka s filtrami: [Filtrovanie a triedenie logov](../filter-logs/).\n- Dvojitým kliknutím na log uvidíš všetky jeho údaje: [Detail logu](../log-detail/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0H68V61f","url":"https://totaljs.es/docs/openlogger/1-0/guides/filter-logs/","project":"openlogger","version":"1-0","section":"guides","language":"en","title":"Filter and sort logs","summary":"Narrow the Logs table down with the filter row and sort it by any column.","markdown":"---\ntitle: Filter and sort logs\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/guides/filter-logs/\nupdated: 2026-11-19T08:02:29.975Z\n---\n\n# Filter and sort logs\n\n> Narrow the Logs table down with the filter row and sort it by any column.\n\nThe row below the column names holds a **Filter** field for each column. Use it to find the logs you need.\n\n![The Logs table filtered by the type error](/files/JapX0F67V60f.webp)\n\n## Filter\n\n**1.** Click the **Filter** field of a column, for example **Type**.\n\n**2.** Type a value, for example `error`, and press **Enter**.\n\nThe table shows only the matching logs. The filter finds the text anywhere in the column and ignores upper and lower case, so `shop` finds `Demo shop`. You can fill in several filters at once; a log must match all of them.\n\nTo remove a filter, click the **×** in the field.\n\n## Sort\n\nClick a column name to sort by it. Click again to reverse the order. Without sorting, the newest logs come first.\n\n## Show more columns\n\nThe columns **User ID** and **Data** are hidden. To show one, click the columns button at the right end of the header row, check the column and click **Apply**. **Reset** brings back the default columns.\n\n## Good to know\n\n- The filters search all logs, not only the current page.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.975Z"}
{"id":"JapX0H68V61f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/guides/filter-logs/","project":"openlogger","version":"1-0","section":"guides","language":"de","title":"Logs filtern und sortieren","summary":"Grenz die Tabelle Logs mit der Filterzeile ein und sortiere sie nach jeder Spalte.","markdown":"---\ntitle: Logs filtern und sortieren\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/guides/filter-logs/\nupdated: 2026-11-19T08:02:29.975Z\n---\n\n# Logs filtern und sortieren\n\n> Grenz die Tabelle Logs mit der Filterzeile ein und sortiere sie nach jeder Spalte.\n\nDie Zeile unter den Spaltennamen enthält für jede Spalte ein Feld **Filter**. Damit findest du die Logs, die du brauchst.\n\n![Die Tabelle Logs, gefiltert nach dem Typ error](/files/JapX0F67V60f.webp)\n\n## Filtern\n\n**1.** Klick in das Feld **Filter** einer Spalte, zum Beispiel **Type**.\n\n**2.** Tipp einen Wert ein, zum Beispiel `error`, und drück **Enter**.\n\nDie Tabelle zeigt nur die passenden Logs. Der Filter findet den Text überall in der Spalte und ignoriert Groß- und Kleinschreibung, also findet `shop` auch `Demo shop`. Du kannst mehrere Filter gleichzeitig ausfüllen; ein Log muss zu allen passen.\n\nUm einen Filter zu entfernen, klick auf das **×** im Feld.\n\n## Sortieren\n\nKlick auf einen Spaltennamen, um danach zu sortieren. Klick noch einmal, um die Reihenfolge umzudrehen. Ohne Sortierung kommen die neuesten Logs zuerst.\n\n## Mehr Spalten anzeigen\n\nDie Spalten **User ID** und **Data** sind ausgeblendet. Um eine davon anzuzeigen, klick auf den Spalten-Button am rechten Ende der Kopfzeile, setz den Haken bei der Spalte und klick auf **Apply**. **Reset** holt die Standardspalten zurück.\n\n## Gut zu wissen\n\n- Die Filter durchsuchen alle Logs, nicht nur die aktuelle Seite.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.975Z"}
{"id":"JapX0H68V61f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/guides/filter-logs/","project":"openlogger","version":"1-0","section":"guides","language":"es","title":"Filtrar y ordenar los registros","summary":"Acota la tabla Logs con la fila de filtros y ordénala por cualquier columna.","markdown":"---\ntitle: Filtrar y ordenar los registros\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/guides/filter-logs/\nupdated: 2026-11-19T08:02:29.975Z\n---\n\n# Filtrar y ordenar los registros\n\n> Acota la tabla Logs con la fila de filtros y ordénala por cualquier columna.\n\nLa fila que hay debajo de los nombres de las columnas tiene un campo **Filter** (filtro) para cada columna. Úsalo para encontrar los registros que necesitas.\n\n![La tabla Logs filtrada por el tipo error](/files/JapX0F67V60f.webp)\n\n## Filtrar\n\n**1.** Haz clic en el campo **Filter** de una columna, por ejemplo **Type**.\n\n**2.** Escribe un valor, por ejemplo `error`, y pulsa **Enter**.\n\nLa tabla muestra solo los registros que coinciden. El filtro encuentra el texto en cualquier parte de la columna y no distingue entre mayúsculas y minúsculas, así que `shop` encuentra `Demo shop`. Puedes rellenar varios filtros a la vez; un registro tiene que cumplirlos todos.\n\nPara quitar un filtro, haz clic en la **×** del campo.\n\n## Ordenar\n\nHaz clic en el nombre de una columna para ordenar por ella. Vuelve a hacer clic para invertir el orden. Sin ordenar, los registros más recientes salen primero.\n\n## Mostrar más columnas\n\nLas columnas **User ID** y **Data** están ocultas. Para mostrar una, haz clic en el botón de columnas del extremo derecho de la fila de cabecera, marca la columna y haz clic en **Apply** (aplicar). **Reset** recupera las columnas predeterminadas.\n\n## Conviene saber\n\n- Los filtros buscan en todos los registros, no solo en la página actual.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.975Z"}
{"id":"JapX0H68V61f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/guides/filter-logs/","project":"openlogger","version":"1-0","section":"guides","language":"fr","title":"Filtrer et trier les logs","summary":"Réduis le tableau Logs avec la ligne de filtres et trie-le selon n’importe quelle colonne.","markdown":"---\ntitle: Filtrer et trier les logs\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/guides/filter-logs/\nupdated: 2026-11-19T08:02:29.975Z\n---\n\n# Filtrer et trier les logs\n\n> Réduis le tableau Logs avec la ligne de filtres et trie-le selon n’importe quelle colonne.\n\nLa ligne sous les noms des colonnes contient un champ **Filter** (filtre) pour chaque colonne. Utilise-le pour trouver les logs dont tu as besoin.\n\n![Le tableau Logs filtré sur le type error](/files/JapX0F67V60f.webp)\n\n## Filtrer\n\n**1.** Clique sur le champ **Filter** d’une colonne, par exemple **Type**.\n\n**2.** Tape une valeur, par exemple `error`, et appuie sur **Enter**.\n\nLe tableau n’affiche que les logs correspondants. Le filtre trouve le texte n’importe où dans la colonne et ignore les majuscules et les minuscules, donc `shop` trouve `Demo shop`. Tu peux remplir plusieurs filtres à la fois ; un log doit tous les respecter.\n\nPour retirer un filtre, clique sur le **×** dans le champ.\n\n## Trier\n\nClique sur le nom d’une colonne pour trier selon cette colonne. Clique de nouveau pour inverser l’ordre. Sans tri, les logs les plus récents viennent en premier.\n\n## Afficher plus de colonnes\n\nLes colonnes **User ID** et **Data** sont masquées. Pour en afficher une, clique sur le bouton des colonnes à l’extrémité droite de la ligne d’en-tête, coche la colonne et clique sur **Apply**. **Reset** remet les colonnes par défaut.\n\n## Bon à savoir\n\n- Les filtres cherchent dans tous les logs, pas seulement dans la page actuelle.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.975Z"}
{"id":"JapX0H68V61f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/guides/filter-logs/","project":"openlogger","version":"1-0","section":"guides","language":"it","title":"Filtrare e ordinare i log","summary":"Restringi la tabella Logs con la riga dei filtri e ordinala per qualsiasi colonna.","markdown":"---\ntitle: Filtrare e ordinare i log\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/guides/filter-logs/\nupdated: 2026-11-19T08:02:29.975Z\n---\n\n# Filtrare e ordinare i log\n\n> Restringi la tabella Logs con la riga dei filtri e ordinala per qualsiasi colonna.\n\nLa riga sotto i nomi delle colonne contiene un campo **Filter** (filtro) per ogni colonna. Usalo per trovare i log che ti servono.\n\n![La tabella Logs filtrata per il tipo error](/files/JapX0F67V60f.webp)\n\n## Filtrare\n\n**1.** Fai clic sul campo **Filter** di una colonna, per esempio **Type**.\n\n**2.** Scrivi un valore, per esempio `error`, e premi **Enter**.\n\nLa tabella mostra solo i log corrispondenti. Il filtro trova il testo in qualsiasi punto della colonna e non distingue tra maiuscole e minuscole, quindi `shop` trova `Demo shop`. Puoi compilare più filtri insieme; un log deve corrispondere a tutti.\n\nPer togliere un filtro, fai clic sulla **×** nel campo.\n\n## Ordinare\n\nFai clic sul nome di una colonna per ordinare in base a quella. Fai clic di nuovo per invertire l'ordine. Senza ordinamento, i log più recenti vengono per primi.\n\n## Mostrare più colonne\n\nLe colonne **User ID** e **Data** sono nascoste. Per mostrarne una, fai clic sul pulsante delle colonne all'estremità destra della riga di intestazione, seleziona la colonna e fai clic su **Apply**. **Reset** riporta le colonne predefinite.\n\n## Buono a sapersi\n\n- I filtri cercano in tutti i log, non solo nella pagina attuale.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.975Z"}
{"id":"JapX0H68V61f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/guides/filter-logs/","project":"openlogger","version":"1-0","section":"guides","language":"sk","title":"Filtrovanie a triedenie logov","summary":"Zúž tabuľku Logs pomocou riadka s filtrami a zoraď ju podľa ľubovoľného stĺpca.","markdown":"---\ntitle: Filtrovanie a triedenie logov\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/guides/filter-logs/\nupdated: 2026-11-19T08:02:29.975Z\n---\n\n# Filtrovanie a triedenie logov\n\n> Zúž tabuľku Logs pomocou riadka s filtrami a zoraď ju podľa ľubovoľného stĺpca.\n\nRiadok pod názvami stĺpcov obsahuje pole **Filter** pre každý stĺpec. Pomocou neho nájdeš logy, ktoré potrebuješ.\n\n![Tabuľka Logs vyfiltrovaná podľa typu error](/files/JapX0F67V60f.webp)\n\n## Filtrovanie\n\n**1.** Klikni na pole **Filter** stĺpca, napríklad **Type**.\n\n**2.** Napíš hodnotu, napríklad `error`, a stlač **Enter**.\n\nTabuľka ukáže len zodpovedajúce logy. Filter nájde text kdekoľvek v stĺpci a nerozlišuje veľké a malé písmená, takže `shop` nájde `Demo shop`. Môžeš vyplniť viac filtrov naraz; log musí spĺňať všetky.\n\nFilter odstrániš kliknutím na **×** v poli.\n\n## Triedenie\n\nKlikni na názov stĺpca a tabuľka sa podľa neho zoradí. Ďalším kliknutím poradie otočíš. Bez triedenia sú najnovšie logy navrchu.\n\n## Zobrazenie ďalších stĺpcov\n\nStĺpce **User ID** a **Data** sú skryté. Ak chceš niektorý zobraziť, klikni na tlačidlo stĺpcov na pravom konci riadka s hlavičkou, začiarkni stĺpec a klikni na **Apply**. **Reset** vráti predvolené stĺpce.\n\n## Dobré vedieť\n\n- Filtre prehľadávajú všetky logy, nielen aktuálnu stránku.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.975Z"}
{"id":"JapX0T6KV61f","url":"https://totaljs.es/docs/openlogger/1-0/guides/log-detail/","project":"openlogger","version":"1-0","section":"guides","language":"en","title":"Log detail","summary":"Open a log to see all its fields and the extra data formatted as JSON.","markdown":"---\ntitle: Log detail\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/guides/log-detail/\nupdated: 2026-11-19T08:02:31.178Z\n---\n\n# Log detail\n\n> Open a log to see all its fields and the extra data formatted as JSON.\n\nDouble-click a log in **Logs** to open **Log detail**. It shows every field of the log, and the extra data that the app sent in `data`.\n\n![The Log detail panel of an error log with the data report and timeout](/files/JapX0R6JV60f.webp)\n\n## What you see\n\n- **Application**, **Type**, **Schema**, **User ID**, **User name**, **IP address**, **URL address**, **Device**, **Message** and **Created**.\n- Below the table, the `data` of the log, formatted as JSON. It appears only when the app sent data.\n\nClose the panel with the **×** at the top right.\n\n## Get more out of the detail\n\nThe detail is as useful as the data your app sends. Put whatever helps you understand the event in `data`, for example the order number or the settings of a failed report. See [Send a log](../../reference/send-log/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.178Z"}
{"id":"JapX0T6KV61f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/guides/log-detail/","project":"openlogger","version":"1-0","section":"guides","language":"de","title":"Log-Detail","summary":"Öffne ein Log, um alle seine Felder und die Zusatzdaten als formatiertes JSON zu sehen.","markdown":"---\ntitle: Log-Detail\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/guides/log-detail/\nupdated: 2026-11-19T08:02:31.178Z\n---\n\n# Log-Detail\n\n> Öffne ein Log, um alle seine Felder und die Zusatzdaten als formatiertes JSON zu sehen.\n\nDoppelklick auf ein Log in **Logs** öffnet **Log detail**. Dort siehst du jedes Feld des Logs und die Zusatzdaten, die die App in `data` geschickt hat.\n\n![Das Panel Log detail eines Fehler-Logs mit den Daten report und timeout](/files/JapX0R6JV60f.webp)\n\n## Was du siehst\n\n- **Application**, **Type**, **Schema**, **User ID**, **User name**, **IP address**, **URL address**, **Device**, **Message** und **Created**.\n- Unter der Tabelle die `data` des Logs, als JSON formatiert. Sie erscheinen nur, wenn die App Daten geschickt hat.\n\nSchließ das Panel mit dem **×** oben rechts.\n\n## Mehr aus dem Detail herausholen\n\nDas Detail ist so nützlich wie die Daten, die deine App schickt. Pack alles in `data`, was dir hilft, das Ereignis zu verstehen, zum Beispiel die Bestellnummer oder die Einstellungen eines fehlgeschlagenen Berichts. Mehr dazu unter [Ein Log senden](../../reference/send-log/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.178Z"}
{"id":"JapX0T6KV61f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/guides/log-detail/","project":"openlogger","version":"1-0","section":"guides","language":"es","title":"Detalle del registro","summary":"Abre un registro para ver todos sus campos y los datos extra formateados como JSON.","markdown":"---\ntitle: Detalle del registro\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/guides/log-detail/\nupdated: 2026-11-19T08:02:31.178Z\n---\n\n# Detalle del registro\n\n> Abre un registro para ver todos sus campos y los datos extra formateados como JSON.\n\nHaz doble clic en un registro de **Logs** para abrir **Log detail** (detalle del registro). Muestra todos los campos del registro y los datos extra que la app envió en `data`.\n\n![El panel Log detail de un registro de error con los datos report y timeout](/files/JapX0R6JV60f.webp)\n\n## Qué ves\n\n- **Application**, **Type**, **Schema**, **User ID**, **User name**, **IP address**, **URL address**, **Device**, **Message** y **Created**.\n- Debajo de la tabla, el `data` del registro, formateado como JSON. Solo aparece si la app envió datos.\n\nCierra el panel con la **×** de arriba a la derecha.\n\n## Sacar más partido al detalle\n\nEl detalle es tan útil como los datos que envía tu app. Pon en `data` todo lo que te ayude a entender el evento, por ejemplo el número de pedido o los ajustes de un informe que ha fallado. Consulta [Enviar un registro](../../reference/send-log/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.178Z"}
{"id":"JapX0T6KV61f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/guides/log-detail/","project":"openlogger","version":"1-0","section":"guides","language":"fr","title":"Détail d’un log","summary":"Ouvre un log pour voir tous ses champs et les données en plus mises en forme en JSON.","markdown":"---\ntitle: \"Détail d’un log\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/guides/log-detail/\nupdated: 2026-11-19T08:02:31.178Z\n---\n\n# Détail d’un log\n\n> Ouvre un log pour voir tous ses champs et les données en plus mises en forme en JSON.\n\nDouble-clique sur un log dans **Logs** pour ouvrir **Log detail** (détail du log). Il affiche chaque champ du log, ainsi que les données en plus que l’application a envoyées dans `data`.\n\n![Le panneau Log detail d’un log d’erreur avec les données report et timeout](/files/JapX0R6JV60f.webp)\n\n## Ce que tu vois\n\n- **Application**, **Type**, **Schema**, **User ID**, **User name**, **IP address**, **URL address**, **Device**, **Message** et **Created**.\n- Sous le tableau, les `data` du log, mises en forme en JSON. Elles n’apparaissent que si l’application a envoyé des données.\n\nFerme le panneau avec le **×** en haut à droite.\n\n## Tirer le meilleur du détail\n\nLe détail est aussi utile que les données que ton application envoie. Mets dans `data` tout ce qui t’aide à comprendre l’événement, par exemple le numéro de commande ou les réglages d’un rapport qui a échoué. Consulte [Envoyer un log](../../reference/send-log/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.178Z"}
{"id":"JapX0T6KV61f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/guides/log-detail/","project":"openlogger","version":"1-0","section":"guides","language":"it","title":"Dettaglio di un log","summary":"Apri un log per vedere tutti i suoi campi e i dati aggiuntivi formattati in JSON.","markdown":"---\ntitle: Dettaglio di un log\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/guides/log-detail/\nupdated: 2026-11-19T08:02:31.178Z\n---\n\n# Dettaglio di un log\n\n> Apri un log per vedere tutti i suoi campi e i dati aggiuntivi formattati in JSON.\n\nFai doppio clic su un log in **Logs** per aprire **Log detail** (dettaglio del log). Mostra tutti i campi del log e i dati aggiuntivi che l'app ha inviato in `data`.\n\n![Il pannello Log detail di un log di errore con i dati report e timeout](/files/JapX0R6JV60f.webp)\n\n## Cosa vedi\n\n- **Application**, **Type**, **Schema**, **User ID**, **User name**, **IP address**, **URL address**, **Device**, **Message** e **Created**.\n- Sotto la tabella, il `data` del log, formattato in JSON. Appare solo quando l'app ha inviato dei dati.\n\nChiudi il pannello con la **×** in alto a destra.\n\n## Ottenere di più dal dettaglio\n\nIl dettaglio è utile quanto i dati che la tua app invia. Metti in `data` tutto ciò che ti aiuta a capire l'evento, per esempio il numero d'ordine o le impostazioni di un report non riuscito. Leggi [Inviare un log](../../reference/send-log/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.178Z"}
{"id":"JapX0T6KV61f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/guides/log-detail/","project":"openlogger","version":"1-0","section":"guides","language":"sk","title":"Detail logu","summary":"Otvor log a pozri si všetky jeho polia a ďalšie dáta naformátované ako JSON.","markdown":"---\ntitle: Detail logu\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/guides/log-detail/\nupdated: 2026-11-19T08:02:31.178Z\n---\n\n# Detail logu\n\n> Otvor log a pozri si všetky jeho polia a ďalšie dáta naformátované ako JSON.\n\nDvakrát klikni na log v **Logs** a otvorí sa **Log detail** (detail logu). Ukazuje každé pole logu a ďalšie dáta, ktoré aplikácia poslala v `data`.\n\n![Panel Log detail chybového logu s dátami report a timeout](/files/JapX0R6JV60f.webp)\n\n## Čo uvidíš\n\n- **Application**, **Type**, **Schema**, **User ID**, **User name**, **IP address**, **URL address**, **Device**, **Message** a **Created**.\n- Pod tabuľkou `data` logu, naformátované ako JSON. Zobrazia sa len vtedy, keď aplikácia dáta poslala.\n\nPanel zatvoríš cez **×** vpravo hore.\n\n## Ako z detailu vyťažiť viac\n\nDetail je taký užitočný, aké dáta tvoja aplikácia posiela. Do `data` daj všetko, čo ti pomôže udalosti porozumieť, napríklad číslo objednávky alebo nastavenia neúspešného reportu. Pozri si [Poslanie logu](../../reference/send-log/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.178Z"}
{"id":"JapX0b6RV60f","url":"https://totaljs.es/docs/openlogger/1-0/guides/remove-logs/","project":"openlogger","version":"1-0","section":"guides","language":"en","title":"Remove and clear logs","summary":"Remove selected logs or all logs from the database.","markdown":"---\ntitle: Remove and clear logs\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/guides/remove-logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Remove and clear logs\n\n> Remove selected logs or all logs from the database.\n\nLogs stay in OpenLogger until you remove them. You can remove some logs or clear them all. Removed logs cannot be restored, so [download](../download-logs/) them first if you need a copy.\n\n## Remove selected logs\n\n**1.** In **Logs**, check the box at the start of each log you want to remove. The box in the header checks all logs on the page.\n\n**2.** Click **Remove**. It is active only when at least one log is checked.\n\n**3.** Confirm with **Remove**.\n\n**4.** Click **Refresh** to see the list without the removed logs.\n\n## Clear all logs\n\n**1.** In **Logs**, click **Clear**.\n\n**2.** Confirm with **Clear**.\n\n**3.** Click **Refresh**. The screen shows \"The logs doesn't contain any logs\".\n\nClear removes the logs of all apps.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0b6RV60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/guides/remove-logs/","project":"openlogger","version":"1-0","section":"guides","language":"de","title":"Logs entfernen und leeren","summary":"Entferne ausgewählte Logs oder alle Logs aus der Datenbank.","markdown":"---\ntitle: Logs entfernen und leeren\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/guides/remove-logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Logs entfernen und leeren\n\n> Entferne ausgewählte Logs oder alle Logs aus der Datenbank.\n\nLogs bleiben in OpenLogger, bis du sie entfernst. Du kannst einige Logs entfernen oder alle leeren. Entfernte Logs lassen sich nicht wiederherstellen, [lade](../download-logs/) sie also vorher herunter, wenn du eine Kopie brauchst.\n\n## Ausgewählte Logs entfernen\n\n**1.** Setz in **Logs** den Haken am Anfang jedes Logs, das du entfernen willst. Das Kästchen in der Kopfzeile hakt alle Logs auf der Seite an.\n\n**2.** Klick auf **Remove**. Der Button ist nur aktiv, wenn mindestens ein Log angehakt ist.\n\n**3.** Bestätige mit **Remove**.\n\n**4.** Klick auf **Refresh**, um die Liste ohne die entfernten Logs zu sehen.\n\n## Alle Logs leeren\n\n**1.** Klick in **Logs** auf **Clear**.\n\n**2.** Bestätige mit **Clear**.\n\n**3.** Klick auf **Refresh**. Der Bildschirm zeigt „The logs doesn't contain any logs“.\n\nClear entfernt die Logs aller Apps.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0b6RV60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/guides/remove-logs/","project":"openlogger","version":"1-0","section":"guides","language":"es","title":"Borrar y vaciar los registros","summary":"Borra los registros seleccionados o todos los registros de la base de datos.","markdown":"---\ntitle: Borrar y vaciar los registros\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/guides/remove-logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Borrar y vaciar los registros\n\n> Borra los registros seleccionados o todos los registros de la base de datos.\n\nLos registros se quedan en OpenLogger hasta que los borras. Puedes borrar algunos registros o vaciarlos todos. Los registros borrados no se pueden recuperar, así que [descárgalos](../download-logs/) antes si necesitas una copia.\n\n## Borrar los registros seleccionados\n\n**1.** En **Logs**, marca la casilla del principio de cada registro que quieras borrar. La casilla de la cabecera marca todos los registros de la página.\n\n**2.** Haz clic en **Remove** (borrar). Solo está activo cuando hay al menos un registro marcado.\n\n**3.** Confirma con **Remove**.\n\n**4.** Haz clic en **Refresh** (actualizar) para ver la lista sin los registros borrados.\n\n## Vaciar todos los registros\n\n**1.** En **Logs**, haz clic en **Clear** (vaciar).\n\n**2.** Confirma con **Clear**.\n\n**3.** Haz clic en **Refresh**. La pantalla muestra \"The logs doesn't contain any logs\" (no hay registros).\n\nClear borra los registros de todas las apps.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0b6RV60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/guides/remove-logs/","project":"openlogger","version":"1-0","section":"guides","language":"fr","title":"Supprimer et vider les logs","summary":"Supprime de la base les logs sélectionnés ou tous les logs.","markdown":"---\ntitle: Supprimer et vider les logs\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/guides/remove-logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Supprimer et vider les logs\n\n> Supprime de la base les logs sélectionnés ou tous les logs.\n\nLes logs restent dans OpenLogger jusqu’à ce que tu les supprimes. Tu peux supprimer certains logs ou tous les vider. Les logs supprimés ne peuvent pas être restaurés, alors [télécharge-les](../download-logs/) d’abord si tu as besoin d’une copie.\n\n## Supprimer les logs sélectionnés\n\n**1.** Dans **Logs**, coche la case au début de chaque log que tu veux supprimer. La case de l’en-tête coche tous les logs de la page.\n\n**2.** Clique sur **Remove** (supprimer). Le bouton n’est actif que si au moins un log est coché.\n\n**3.** Confirme avec **Remove**.\n\n**4.** Clique sur **Refresh** pour voir la liste sans les logs supprimés.\n\n## Vider tous les logs\n\n**1.** Dans **Logs**, clique sur **Clear** (vider).\n\n**2.** Confirme avec **Clear**.\n\n**3.** Clique sur **Refresh**. L’écran affiche « The logs doesn't contain any logs ».\n\nClear supprime les logs de toutes les applications.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0b6RV60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/guides/remove-logs/","project":"openlogger","version":"1-0","section":"guides","language":"it","title":"Rimuovere e svuotare i log","summary":"Rimuovi dal database i log selezionati o tutti i log.","markdown":"---\ntitle: Rimuovere e svuotare i log\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/guides/remove-logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Rimuovere e svuotare i log\n\n> Rimuovi dal database i log selezionati o tutti i log.\n\nI log restano in OpenLogger finché non li rimuovi. Puoi rimuovere alcuni log o svuotarli tutti. I log rimossi non si possono ripristinare, quindi [scaricali](../download-logs/) prima se ti serve una copia.\n\n## Rimuovere i log selezionati\n\n**1.** In **Logs**, seleziona la casella all'inizio di ogni log che vuoi rimuovere. La casella nell'intestazione seleziona tutti i log della pagina.\n\n**2.** Fai clic su **Remove**. È attivo solo quando almeno un log è selezionato.\n\n**3.** Conferma con **Remove**.\n\n**4.** Fai clic su **Refresh** per vedere l'elenco senza i log rimossi.\n\n## Svuotare tutti i log\n\n**1.** In **Logs**, fai clic su **Clear**.\n\n**2.** Conferma con **Clear**.\n\n**3.** Fai clic su **Refresh**. La schermata mostra \"The logs doesn't contain any logs\".\n\nClear rimuove i log di tutte le app.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0b6RV60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/guides/remove-logs/","project":"openlogger","version":"1-0","section":"guides","language":"sk","title":"Odstránenie a vymazanie logov","summary":"Odstráň vybrané logy alebo všetky logy z databázy.","markdown":"---\ntitle: \"Odstránenie a vymazanie logov\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/guides/remove-logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Odstránenie a vymazanie logov\n\n> Odstráň vybrané logy alebo všetky logy z databázy.\n\nLogy zostávajú v OpenLogger, kým ich neodstrániš. Môžeš odstrániť niektoré logy alebo vymazať všetky. Odstránené logy sa nedajú obnoviť, takže ak potrebuješ kópiu, najprv ich [stiahni](../download-logs/).\n\n## Odstránenie vybraných logov\n\n**1.** V **Logs** začiarkni políčko na začiatku každého logu, ktorý chceš odstrániť. Políčko v hlavičke začiarkne všetky logy na stránke.\n\n**2.** Klikni na **Remove**. Je aktívne, len keď je začiarknutý aspoň jeden log.\n\n**3.** Potvrď tlačidlom **Remove**.\n\n**4.** Klikni na **Refresh** a uvidíš zoznam bez odstránených logov.\n\n## Vymazanie všetkých logov\n\n**1.** V **Logs** klikni na **Clear**.\n\n**2.** Potvrď tlačidlom **Clear**.\n\n**3.** Klikni na **Refresh**. Obrazovka ukáže „The logs doesn't contain any logs“.\n\nClear odstráni logy všetkých aplikácií.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0D65V60f","url":"https://totaljs.es/docs/openlogger/1-0/guides/download-logs/","project":"openlogger","version":"1-0","section":"guides","language":"en","title":"Download logs","summary":"Download the log file and read what is inside.","markdown":"---\ntitle: Download logs\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/guides/download-logs/\nupdated: 2026-11-19T08:02:29.465Z\n---\n\n# Download logs\n\n> Download the log file and read what is inside.\n\n**Download** in **Logs** saves the whole log database as the file `logs.nosql`. Use it to keep a copy before you clear logs, or to work with the logs in other tools.\n\n## Download the file\n\n**1.** Open the admin interface with your primary access token, at `/setup/?token=YOUR_TOKEN`.\n\n**2.** Open **Logs** and click **Download**.\n\nThe browser saves `logs.nosql`.\n\n## What is inside\n\nThe file is plain text with one log per line, as JSON:\n\n```json\n{\"type\":\"info\",\"data\":\"{\\\"order\\\":1001,\\\"total\\\":49.9,\\\"currency\\\":\\\"EUR\\\"}\",\"app\":\"Demo shop\",\"url\":\"https://shop.example.com/checkout/\",\"userid\":\"u100\",\"username\":\"Jane Doe\",\"schema\":\"Orders\",\"reference\":\"1001\",\"message\":\"Order 1001 created\",\"ua\":\"Firefox 132 (macOS)\",\"ip\":\"192.0.2.10\",\"clientside\":false,\"date\":\"2026-11-19T07:48:59.085Z\",\"id\":\"24nap001bg51d\",\"dtcreated\":\"2026-11-19T07:48:59.085Z\"}\n```\n\nThe file holds every field your app sent, including `reference`, `clientside` and `date`, which the table does not show. A line that starts with `-` is a log that was removed.\n\n## Download from a script\n\nSee [Read logs with the admin API](../../reference/read-logs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.465Z"}
{"id":"JapX0D65V60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/guides/download-logs/","project":"openlogger","version":"1-0","section":"guides","language":"de","title":"Logs herunterladen","summary":"Lade die Log-Datei herunter und lies, was darin steht.","markdown":"---\ntitle: Logs herunterladen\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/guides/download-logs/\nupdated: 2026-11-19T08:02:29.465Z\n---\n\n# Logs herunterladen\n\n> Lade die Log-Datei herunter und lies, was darin steht.\n\n**Download** in **Logs** speichert die ganze Log-Datenbank als Datei `logs.nosql`. Nutze das, um eine Kopie zu behalten, bevor du Logs leerst, oder um mit den Logs in anderen Tools zu arbeiten.\n\n## Die Datei herunterladen\n\n**1.** Öffne die Admin-Oberfläche mit deinem Primary Access Token unter `/setup/?token=YOUR_TOKEN`.\n\n**2.** Öffne **Logs** und klick auf **Download**.\n\nDer Browser speichert `logs.nosql`.\n\n## Was darin steht\n\nDie Datei ist reiner Text mit einem Log pro Zeile, als JSON:\n\n```json\n{\"type\":\"info\",\"data\":\"{\\\"order\\\":1001,\\\"total\\\":49.9,\\\"currency\\\":\\\"EUR\\\"}\",\"app\":\"Demo shop\",\"url\":\"https://shop.example.com/checkout/\",\"userid\":\"u100\",\"username\":\"Jane Doe\",\"schema\":\"Orders\",\"reference\":\"1001\",\"message\":\"Order 1001 created\",\"ua\":\"Firefox 132 (macOS)\",\"ip\":\"192.0.2.10\",\"clientside\":false,\"date\":\"2026-11-19T07:48:59.085Z\",\"id\":\"24nap001bg51d\",\"dtcreated\":\"2026-11-19T07:48:59.085Z\"}\n```\n\nDie Datei enthält jedes Feld, das deine App geschickt hat, auch `reference`, `clientside` und `date`, die die Tabelle nicht zeigt. Eine Zeile, die mit `-` beginnt, ist ein entferntes Log.\n\n## Aus einem Skript herunterladen\n\nMehr dazu unter [Logs mit der Admin-API lesen](../../reference/read-logs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.465Z"}
{"id":"JapX0D65V60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/guides/download-logs/","project":"openlogger","version":"1-0","section":"guides","language":"es","title":"Descargar los registros","summary":"Descarga el archivo de registros y mira lo que contiene.","markdown":"---\ntitle: Descargar los registros\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/guides/download-logs/\nupdated: 2026-11-19T08:02:29.465Z\n---\n\n# Descargar los registros\n\n> Descarga el archivo de registros y mira lo que contiene.\n\n**Download** (descargar) en **Logs** guarda toda la base de datos de registros en el archivo `logs.nosql`. Úsalo para guardar una copia antes de vaciar los registros, o para trabajar con los registros en otras herramientas.\n\n## Descargar el archivo\n\n**1.** Abre la interfaz de administración con tu token de acceso principal, en `/setup/?token=YOUR_TOKEN`.\n\n**2.** Abre **Logs** y haz clic en **Download**.\n\nEl navegador guarda `logs.nosql`.\n\n## Qué contiene\n\nEl archivo es texto plano con un registro por línea, en JSON:\n\n```json\n{\"type\":\"info\",\"data\":\"{\\\"order\\\":1001,\\\"total\\\":49.9,\\\"currency\\\":\\\"EUR\\\"}\",\"app\":\"Demo shop\",\"url\":\"https://shop.example.com/checkout/\",\"userid\":\"u100\",\"username\":\"Jane Doe\",\"schema\":\"Orders\",\"reference\":\"1001\",\"message\":\"Order 1001 created\",\"ua\":\"Firefox 132 (macOS)\",\"ip\":\"192.0.2.10\",\"clientside\":false,\"date\":\"2026-11-19T07:48:59.085Z\",\"id\":\"24nap001bg51d\",\"dtcreated\":\"2026-11-19T07:48:59.085Z\"}\n```\n\nEl archivo contiene todos los campos que envió tu app, incluidos `reference`, `clientside` y `date`, que la tabla no muestra. Una línea que empieza por `-` es un registro que se ha borrado.\n\n## Descargar desde un script\n\nConsulta [Leer los registros con la API de administración](../../reference/read-logs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.465Z"}
{"id":"JapX0D65V60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/guides/download-logs/","project":"openlogger","version":"1-0","section":"guides","language":"fr","title":"Télécharger les logs","summary":"Télécharge le fichier des logs et découvre ce qu’il contient.","markdown":"---\ntitle: \"Télécharger les logs\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/guides/download-logs/\nupdated: 2026-11-19T08:02:29.465Z\n---\n\n# Télécharger les logs\n\n> Télécharge le fichier des logs et découvre ce qu’il contient.\n\n**Download** (télécharger), dans **Logs**, enregistre toute la base des logs dans le fichier `logs.nosql`. Sers-t’en pour garder une copie avant de vider les logs, ou pour travailler sur les logs avec d’autres outils.\n\n## Télécharger le fichier\n\n**1.** Ouvre l’interface d’administration avec ton jeton d’accès principal, à l’adresse `/setup/?token=YOUR_TOKEN`.\n\n**2.** Ouvre **Logs** et clique sur **Download**.\n\nLe navigateur enregistre `logs.nosql`.\n\n## Ce qu’il contient\n\nLe fichier est du texte brut avec un log par ligne, en JSON :\n\n```json\n{\"type\":\"info\",\"data\":\"{\\\"order\\\":1001,\\\"total\\\":49.9,\\\"currency\\\":\\\"EUR\\\"}\",\"app\":\"Demo shop\",\"url\":\"https://shop.example.com/checkout/\",\"userid\":\"u100\",\"username\":\"Jane Doe\",\"schema\":\"Orders\",\"reference\":\"1001\",\"message\":\"Order 1001 created\",\"ua\":\"Firefox 132 (macOS)\",\"ip\":\"192.0.2.10\",\"clientside\":false,\"date\":\"2026-11-19T07:48:59.085Z\",\"id\":\"24nap001bg51d\",\"dtcreated\":\"2026-11-19T07:48:59.085Z\"}\n```\n\nLe fichier contient tous les champs que ton application a envoyés, y compris `reference`, `clientside` et `date`, que le tableau n’affiche pas. Une ligne qui commence par `-` est un log qui a été supprimé.\n\n## Télécharger depuis un script\n\nConsulte [Lire les logs avec l’API d’administration](../../reference/read-logs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.465Z"}
{"id":"JapX0D65V60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/guides/download-logs/","project":"openlogger","version":"1-0","section":"guides","language":"it","title":"Scaricare i log","summary":"Scarica il file dei log e scopri cosa contiene.","markdown":"---\ntitle: Scaricare i log\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/guides/download-logs/\nupdated: 2026-11-19T08:02:29.465Z\n---\n\n# Scaricare i log\n\n> Scarica il file dei log e scopri cosa contiene.\n\n**Download** in **Logs** salva l'intero database dei log come file `logs.nosql`. Usalo per tenere una copia prima di svuotare i log, o per lavorare con i log in altri strumenti.\n\n## Scaricare il file\n\n**1.** Apri l'interfaccia di amministrazione con il tuo token di accesso principale, su `/setup/?token=YOUR_TOKEN`.\n\n**2.** Apri **Logs** e fai clic su **Download**.\n\nIl browser salva `logs.nosql`.\n\n## Cosa contiene\n\nIl file è testo semplice con un log per riga, in JSON:\n\n```json\n{\"type\":\"info\",\"data\":\"{\\\"order\\\":1001,\\\"total\\\":49.9,\\\"currency\\\":\\\"EUR\\\"}\",\"app\":\"Demo shop\",\"url\":\"https://shop.example.com/checkout/\",\"userid\":\"u100\",\"username\":\"Jane Doe\",\"schema\":\"Orders\",\"reference\":\"1001\",\"message\":\"Order 1001 created\",\"ua\":\"Firefox 132 (macOS)\",\"ip\":\"192.0.2.10\",\"clientside\":false,\"date\":\"2026-11-19T07:48:59.085Z\",\"id\":\"24nap001bg51d\",\"dtcreated\":\"2026-11-19T07:48:59.085Z\"}\n```\n\nIl file contiene tutti i campi che la tua app ha inviato, compresi `reference`, `clientside` e `date`, che la tabella non mostra. Una riga che inizia con `-` è un log che è stato rimosso.\n\n## Scaricare da uno script\n\nLeggi [Leggere i log con l'API di amministrazione](../../reference/read-logs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.465Z"}
{"id":"JapX0D65V60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/guides/download-logs/","project":"openlogger","version":"1-0","section":"guides","language":"sk","title":"Stiahnutie logov","summary":"Stiahni súbor s logmi a pozri si, čo obsahuje.","markdown":"---\ntitle: Stiahnutie logov\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/guides/download-logs/\nupdated: 2026-11-19T08:02:29.465Z\n---\n\n# Stiahnutie logov\n\n> Stiahni súbor s logmi a pozri si, čo obsahuje.\n\n**Download** v **Logs** uloží celú databázu logov ako súbor `logs.nosql`. Použi ho, ak si chceš pred vymazaním logov ponechať kópiu alebo s logmi pracovať v iných nástrojoch.\n\n## Stiahnutie súboru\n\n**1.** Otvor administráciu so svojím hlavným prístupovým tokenom na `/setup/?token=YOUR_TOKEN`.\n\n**2.** Otvor **Logs** a klikni na **Download**.\n\nPrehliadač uloží `logs.nosql`.\n\n## Čo obsahuje\n\nSúbor je čistý text s jedným logom na riadok vo formáte JSON:\n\n```json\n{\"type\":\"info\",\"data\":\"{\\\"order\\\":1001,\\\"total\\\":49.9,\\\"currency\\\":\\\"EUR\\\"}\",\"app\":\"Demo shop\",\"url\":\"https://shop.example.com/checkout/\",\"userid\":\"u100\",\"username\":\"Jane Doe\",\"schema\":\"Orders\",\"reference\":\"1001\",\"message\":\"Order 1001 created\",\"ua\":\"Firefox 132 (macOS)\",\"ip\":\"192.0.2.10\",\"clientside\":false,\"date\":\"2026-11-19T07:48:59.085Z\",\"id\":\"24nap001bg51d\",\"dtcreated\":\"2026-11-19T07:48:59.085Z\"}\n```\n\nSúbor obsahuje každé pole, ktoré tvoja aplikácia poslala, vrátane `reference`, `clientside` a `date`, ktoré tabuľka neukazuje. Riadok, ktorý sa začína na `-`, je odstránený log.\n\n## Stiahnutie zo skriptu\n\nPozri si [Čítanie logov cez administračné API](../../reference/read-logs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.465Z"}
{"id":"JapX0C63V60f","url":"https://totaljs.es/docs/openlogger/1-0/guides/configuration/","project":"openlogger","version":"1-0","section":"guides","language":"en","title":"Configuration","summary":"Change the name of the app and the primary access token.","markdown":"---\ntitle: Configuration\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/guides/configuration/\nupdated: 2026-11-19T08:02:29.465Z\n---\n\n# Configuration\n\n> Change the name of the app and the primary access token.\n\n**Configuration** holds the name of your OpenLogger and the primary access token. Click the cog icon on the left to open it.\n\n![The Configuration screen with Name, Primary access token and the OpenPlatform section](/files/JapX0A62V61f.webp)\n\n## Name\n\n**Name** is shown in the browser tab and on the home page `/`. Change it to tell several installations apart, for example `Demo logs`, and click **SUBMIT**.\n\n## Primary access token\n\nThe **Primary access token** protects the admin interface and the admin API. See [First start](../first-start/).\n\nTo change it:\n\n**1.** Click **Generate** or type a new token.\n\n**2.** Click **SUBMIT** and then **OK**. The app reloads with the new token in the address.\n\nThe old token stops working at once. Update the scripts that [read logs](../../reference/read-logs/) with the primary access token.\n\n## OpenPlatform\n\nThe **OpenPlatform** section is for running OpenLogger inside Total.js OpenPlatform. Leave **Request token** and **Response token** empty otherwise: when they are filled in, the primary access token does not open the admin interface. If that happens, see [Access and tokens](../../faq/access/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.465Z"}
{"id":"JapX0C63V60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/guides/configuration/","project":"openlogger","version":"1-0","section":"guides","language":"de","title":"Konfiguration","summary":"Ändere den Namen der App und das Primary Access Token.","markdown":"---\ntitle: Konfiguration\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/guides/configuration/\nupdated: 2026-11-19T08:02:29.465Z\n---\n\n# Konfiguration\n\n> Ändere den Namen der App und das Primary Access Token.\n\n**Configuration** enthält den Namen deines OpenLogger und das Primary Access Token. Klick links auf das Zahnradsymbol, um sie zu öffnen.\n\n![Der Bildschirm Configuration mit Name, Primary access token und dem Abschnitt OpenPlatform](/files/JapX0A62V61f.webp)\n\n## Name\n\n**Name** erscheint im Browser-Tab und auf der Startseite `/`. Ändere ihn, um mehrere Installationen auseinanderzuhalten, zum Beispiel `Demo logs`, und klick auf **SUBMIT**.\n\n## Primary Access Token\n\nDas **Primary access token** schützt die Admin-Oberfläche und die Admin-API. Mehr dazu unter [Erster Start](../first-start/).\n\nSo änderst du es:\n\n**1.** Klick auf **Generate** oder tipp ein neues Token ein.\n\n**2.** Klick auf **SUBMIT** und dann auf **OK**. Die App lädt neu, mit dem neuen Token in der Adresse.\n\nDas alte Token funktioniert sofort nicht mehr. Pass die Skripte an, die mit dem Primary Access Token [Logs lesen](../../reference/read-logs/).\n\n## OpenPlatform\n\nDer Abschnitt **OpenPlatform** ist dafür da, OpenLogger innerhalb von Total.js OpenPlatform laufen zu lassen. Lass sonst **Request token** und **Response token** leer: Wenn sie ausgefüllt sind, öffnet das Primary Access Token die Admin-Oberfläche nicht. Falls das passiert, sieh unter [Zugriff und Tokens](../../faq/access/) nach.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.465Z"}
{"id":"JapX0C63V60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/guides/configuration/","project":"openlogger","version":"1-0","section":"guides","language":"es","title":"Configuración","summary":"Cambia el nombre de la app y el token de acceso principal.","markdown":"---\ntitle: \"Configuración\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/guides/configuration/\nupdated: 2026-11-19T08:02:29.465Z\n---\n\n# Configuración\n\n> Cambia el nombre de la app y el token de acceso principal.\n\n**Configuration** (configuración) contiene el nombre de tu OpenLogger y el token de acceso principal. Haz clic en el icono del engranaje de la izquierda para abrirla.\n\n![La pantalla Configuration con Name, Primary access token y la sección OpenPlatform](/files/JapX0A62V61f.webp)\n\n## Nombre\n\n**Name** (nombre) se muestra en la pestaña del navegador y en la página de inicio `/`. Cámbialo para distinguir varias instalaciones, por ejemplo `Demo logs`, y haz clic en **SUBMIT**.\n\n## Token de acceso principal\n\nEl **Primary access token** (token de acceso principal) protege la interfaz de administración y la API de administración. Consulta [Primer arranque](../first-start/).\n\nPara cambiarlo:\n\n**1.** Haz clic en **Generate** (generar) o escribe un token nuevo.\n\n**2.** Haz clic en **SUBMIT** y luego en **OK**. La app se recarga con el token nuevo en la dirección.\n\nEl token antiguo deja de funcionar al momento. Actualiza los scripts que [leen los registros](../../reference/read-logs/) con el token de acceso principal.\n\n## OpenPlatform\n\nLa sección **OpenPlatform** sirve para ejecutar OpenLogger dentro de Total.js OpenPlatform. Si no es tu caso, deja vacíos **Request token** y **Response token**: cuando están rellenos, el token de acceso principal no abre la interfaz de administración. Si te pasa, consulta [Acceso y tokens](../../faq/access/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.465Z"}
{"id":"JapX0C63V60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/guides/configuration/","project":"openlogger","version":"1-0","section":"guides","language":"fr","title":"Configuration","summary":"Modifie le nom de l’application et le jeton d’accès principal.","markdown":"---\ntitle: Configuration\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/guides/configuration/\nupdated: 2026-11-19T08:02:29.465Z\n---\n\n# Configuration\n\n> Modifie le nom de l’application et le jeton d’accès principal.\n\n**Configuration** contient le nom de ton OpenLogger et le jeton d’accès principal. Clique sur l’icône de roue dentée à gauche pour l’ouvrir.\n\n![L’écran Configuration avec Name, Primary access token et la section OpenPlatform](/files/JapX0A62V61f.webp)\n\n## Name\n\n**Name** (nom) est affiché dans l’onglet du navigateur et sur la page d’accueil `/`. Modifie-le pour distinguer plusieurs installations, par exemple `Demo logs`, et clique sur **SUBMIT**.\n\n## Jeton d’accès principal\n\nLe **Primary access token** (jeton d’accès principal) protège l’interface d’administration et l’API d’administration. Consulte [Premier démarrage](../first-start/).\n\nPour le modifier :\n\n**1.** Clique sur **Generate** ou tape un nouveau jeton.\n\n**2.** Clique sur **SUBMIT** puis sur **OK**. L’application se recharge avec le nouveau jeton dans l’adresse.\n\nL’ancien jeton cesse de fonctionner tout de suite. Mets à jour les scripts qui [lisent les logs](../../reference/read-logs/) avec le jeton d’accès principal.\n\n## OpenPlatform\n\nLa section **OpenPlatform** sert à faire tourner OpenLogger dans Total.js OpenPlatform. Sinon, laisse **Request token** et **Response token** vides : quand ils sont remplis, le jeton d’accès principal n’ouvre plus l’interface d’administration. Si ça arrive, consulte [Accès et jetons](../../faq/access/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.465Z"}
{"id":"JapX0C63V60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/guides/configuration/","project":"openlogger","version":"1-0","section":"guides","language":"it","title":"Configurazione","summary":"Cambia il nome dell'app e il token di accesso principale.","markdown":"---\ntitle: Configurazione\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/guides/configuration/\nupdated: 2026-11-19T08:02:29.465Z\n---\n\n# Configurazione\n\n> Cambia il nome dell'app e il token di accesso principale.\n\n**Configuration** (configurazione) contiene il nome del tuo OpenLogger e il token di accesso principale. Fai clic sull'icona a ingranaggio a sinistra per aprirla.\n\n![La schermata Configuration con Name, Primary access token e la sezione OpenPlatform](/files/JapX0A62V61f.webp)\n\n## Nome\n\n**Name** appare nella scheda del browser e nella home page `/`. Cambialo per distinguere più installazioni, per esempio `Demo logs`, e fai clic su **SUBMIT**.\n\n## Token di accesso principale\n\nIl **Primary access token** (token di accesso principale) protegge l'interfaccia di amministrazione e l'API di amministrazione. Leggi [Primo avvio](../first-start/).\n\nPer cambiarlo:\n\n**1.** Fai clic su **Generate** o scrivi un nuovo token.\n\n**2.** Fai clic su **SUBMIT** e poi su **OK**. L'app si ricarica con il nuovo token nell'indirizzo.\n\nIl vecchio token smette subito di funzionare. Aggiorna gli script che [leggono i log](../../reference/read-logs/) con il token di accesso principale.\n\n## OpenPlatform\n\nLa sezione **OpenPlatform** serve per far funzionare OpenLogger dentro Total.js OpenPlatform. Altrimenti lascia vuoti **Request token** e **Response token**: quando sono compilati, il token di accesso principale non apre l'interfaccia di amministrazione. Se succede, leggi [Accesso e token](../../faq/access/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.465Z"}
{"id":"JapX0C63V60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/guides/configuration/","project":"openlogger","version":"1-0","section":"guides","language":"sk","title":"Konfigurácia","summary":"Zmeň názov aplikácie a hlavný prístupový token.","markdown":"---\ntitle: \"Konfigurácia\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/guides/configuration/\nupdated: 2026-11-19T08:02:29.465Z\n---\n\n# Konfigurácia\n\n> Zmeň názov aplikácie a hlavný prístupový token.\n\n**Configuration** obsahuje názov tvojho OpenLogger a hlavný prístupový token. Otvoríš ju kliknutím na ikonu ozubeného kolieska vľavo.\n\n![Obrazovka Configuration s poľami Name, Primary access token a sekciou OpenPlatform](/files/JapX0A62V61f.webp)\n\n## Názov\n\n**Name** sa zobrazuje na karte prehliadača a na domovskej stránke `/`. Zmeň ho, aby si rozlíšil viac inštalácií, napríklad na `Demo logs`, a klikni na **SUBMIT**.\n\n## Hlavný prístupový token\n\n**Primary access token** (hlavný prístupový token) chráni administráciu a administračné API. Pozri si [Prvé spustenie](../first-start/).\n\nZmena tokenu:\n\n**1.** Klikni na **Generate** alebo napíš nový token.\n\n**2.** Klikni na **SUBMIT** a potom na **OK**. Aplikácia sa znova načíta s novým tokenom v adrese.\n\nStarý token hneď prestane fungovať. Aktualizuj skripty, ktoré [čítajú logy](../../reference/read-logs/) s hlavným prístupovým tokenom.\n\n## OpenPlatform\n\nSekcia **OpenPlatform** slúži na prevádzku OpenLogger vnútri Total.js OpenPlatform. Inak nechaj **Request token** a **Response token** prázdne: keď sú vyplnené, hlavný prístupový token administráciu neotvorí. Ak sa to stane, pozri si [Prístup a tokeny](../../faq/access/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:29.465Z"}
{"id":"JapX0860V61f","url":"https://totaljs.es/docs/openlogger/1-0/guides/backups/","project":"openlogger","version":"1-0","section":"guides","language":"en","title":"Back up your data","summary":"Which files hold your data, and how to back them up and restore them.","markdown":"---\ntitle: Back up your data\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/guides/backups/\nupdated: 2026-11-19T08:02:28.886Z\n---\n\n# Back up your data\n\n> Which files hold your data, and how to back them up and restore them.\n\nOpenLogger keeps all its data in the `databases` folder inside the app folder. With Docker, it is the volume mounted on `/www/.src/databases`. See [Install with Docker](../install-docker/).\n\n## The files\n\n| File | What it holds |\n|---|---|\n| `databases/logs.nosql` | All logs, one per line. |\n| `databases/memorize_data.json` | The API tokens and the configuration, including the primary access token. |\n\n## Make a backup\n\n**1.** Stop OpenLogger.\n\n**2.** Copy the `databases` folder:\n\n```bash\ncp -a databases databases-backup-$(date +%Y%m%d)\n```\n\n**3.** Start OpenLogger again.\n\n`memorize_data.json` contains all tokens in plain text. Store backups where only you can read them.\n\n## Restore a backup\n\nStop OpenLogger, replace the `databases` folder with the backup, and start OpenLogger again.\n\n## Good to know\n\n- Changes to tokens and the configuration are written to `memorize_data.json` about 10 seconds after you save them. Wait a moment before you stop the app.\n- `logs.nosql` grows with every log. To keep it small, [download](../download-logs/) the logs you want to keep and [clear](../remove-logs/) the rest.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:28.886Z"}
{"id":"JapX0860V61f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/guides/backups/","project":"openlogger","version":"1-0","section":"guides","language":"de","title":"Deine Daten sichern","summary":"Welche Dateien deine Daten enthalten und wie du sie sicherst und wiederherstellst.","markdown":"---\ntitle: Deine Daten sichern\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/guides/backups/\nupdated: 2026-11-19T08:02:28.886Z\n---\n\n# Deine Daten sichern\n\n> Welche Dateien deine Daten enthalten und wie du sie sicherst und wiederherstellst.\n\nOpenLogger speichert alle seine Daten im Ordner `databases` im App-Ordner. Mit Docker ist es das Volume, das unter `/www/.src/databases` eingebunden ist. Mehr dazu unter [Mit Docker installieren](../install-docker/).\n\n## Die Dateien\n\n| Datei | Was sie enthält |\n|---|---|\n| `databases/logs.nosql` | Alle Logs, eines pro Zeile. |\n| `databases/memorize_data.json` | Die API-Tokens und die Konfiguration, auch das Primary Access Token. |\n\n## Eine Sicherung anlegen\n\n**1.** Stoppe OpenLogger.\n\n**2.** Kopiere den Ordner `databases`:\n\n```bash\ncp -a databases databases-backup-$(date +%Y%m%d)\n```\n\n**3.** Starte OpenLogger wieder.\n\n`memorize_data.json` enthält alle Tokens im Klartext. Bewahre Sicherungen dort auf, wo nur du sie lesen kannst.\n\n## Eine Sicherung wiederherstellen\n\nStoppe OpenLogger, ersetze den Ordner `databases` durch die Sicherung und starte OpenLogger wieder.\n\n## Gut zu wissen\n\n- Änderungen an Tokens und an der Konfiguration werden etwa 10 Sekunden nach dem Speichern in `memorize_data.json` geschrieben. Warte einen Moment, bevor du die App stoppst.\n- `logs.nosql` wächst mit jedem Log. Um die Datei klein zu halten, [lade](../download-logs/) die Logs, die du behalten willst, herunter und [leere](../remove-logs/) den Rest.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:28.886Z"}
{"id":"JapX0860V61f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/guides/backups/","project":"openlogger","version":"1-0","section":"guides","language":"es","title":"Copia de seguridad de tus datos","summary":"Qué archivos guardan tus datos y cómo hacer y restaurar copias de seguridad.","markdown":"---\ntitle: Copia de seguridad de tus datos\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/guides/backups/\nupdated: 2026-11-19T08:02:28.886Z\n---\n\n# Copia de seguridad de tus datos\n\n> Qué archivos guardan tus datos y cómo hacer y restaurar copias de seguridad.\n\nOpenLogger guarda todos sus datos en la carpeta `databases`, dentro de la carpeta de la app. Con Docker, es el volumen montado en `/www/.src/databases`. Consulta [Instalar con Docker](../install-docker/).\n\n## Los archivos\n\n| Archivo | Qué contiene |\n|---|---|\n| `databases/logs.nosql` | Todos los registros, uno por línea. |\n| `databases/memorize_data.json` | Los tokens de API y la configuración, incluido el token de acceso principal. |\n\n## Hacer una copia de seguridad\n\n**1.** Para OpenLogger.\n\n**2.** Copia la carpeta `databases`:\n\n```bash\ncp -a databases databases-backup-$(date +%Y%m%d)\n```\n\n**3.** Vuelve a arrancar OpenLogger.\n\n`memorize_data.json` contiene todos los tokens en texto plano. Guarda las copias donde solo tú puedas leerlas.\n\n## Restaurar una copia de seguridad\n\nPara OpenLogger, sustituye la carpeta `databases` por la copia y vuelve a arrancar OpenLogger.\n\n## Conviene saber\n\n- Los cambios en los tokens y en la configuración se escriben en `memorize_data.json` unos 10 segundos después de guardarlos. Espera un momento antes de parar la app.\n- `logs.nosql` crece con cada registro. Para que no crezca demasiado, [descarga](../download-logs/) los registros que quieras conservar y [vacía](../remove-logs/) el resto.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:28.886Z"}
{"id":"JapX0860V61f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/guides/backups/","project":"openlogger","version":"1-0","section":"guides","language":"fr","title":"Sauvegarder tes données","summary":"Les fichiers qui contiennent tes données, et comment les sauvegarder et les restaurer.","markdown":"---\ntitle: \"Sauvegarder tes données\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/guides/backups/\nupdated: 2026-11-19T08:02:28.886Z\n---\n\n# Sauvegarder tes données\n\n> Les fichiers qui contiennent tes données, et comment les sauvegarder et les restaurer.\n\nOpenLogger garde toutes ses données dans le dossier `databases`, dans le dossier de l’application. Avec Docker, c’est le volume monté sur `/www/.src/databases`. Consulte [Installer avec Docker](../install-docker/).\n\n## Les fichiers\n\n| Fichier | Ce qu’il contient |\n|---|---|\n| `databases/logs.nosql` | Tous les logs, un par ligne. |\n| `databases/memorize_data.json` | Les jetons d’API et la configuration, y compris le jeton d’accès principal. |\n\n## Faire une sauvegarde\n\n**1.** Arrête OpenLogger.\n\n**2.** Copie le dossier `databases` :\n\n```bash\ncp -a databases databases-backup-$(date +%Y%m%d)\n```\n\n**3.** Redémarre OpenLogger.\n\n`memorize_data.json` contient tous les jetons en clair. Range les sauvegardes là où toi seul peux les lire.\n\n## Restaurer une sauvegarde\n\nArrête OpenLogger, remplace le dossier `databases` par la sauvegarde et redémarre OpenLogger.\n\n## Bon à savoir\n\n- Les modifications des jetons et de la configuration sont écrites dans `memorize_data.json` environ 10 secondes après leur enregistrement. Attends un instant avant d’arrêter l’application.\n- `logs.nosql` grossit à chaque log. Pour le garder petit, [télécharge](../download-logs/) les logs que tu veux garder et [vide](../remove-logs/) le reste.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:28.886Z"}
{"id":"JapX0860V61f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/guides/backups/","project":"openlogger","version":"1-0","section":"guides","language":"it","title":"Fare il backup dei dati","summary":"Quali file contengono i tuoi dati, e come farne il backup e ripristinarli.","markdown":"---\ntitle: Fare il backup dei dati\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/guides/backups/\nupdated: 2026-11-19T08:02:28.886Z\n---\n\n# Fare il backup dei dati\n\n> Quali file contengono i tuoi dati, e come farne il backup e ripristinarli.\n\nOpenLogger conserva tutti i suoi dati nella cartella `databases` dentro la cartella dell'app. Con Docker, è il volume montato su `/www/.src/databases`. Leggi [Installare con Docker](../install-docker/).\n\n## I file\n\n| File | Cosa contiene |\n|---|---|\n| `databases/logs.nosql` | Tutti i log, uno per riga. |\n| `databases/memorize_data.json` | I token API e la configurazione, compreso il token di accesso principale. |\n\n## Fare un backup\n\n**1.** Ferma OpenLogger.\n\n**2.** Copia la cartella `databases`:\n\n```bash\ncp -a databases databases-backup-$(date +%Y%m%d)\n```\n\n**3.** Avvia di nuovo OpenLogger.\n\n`memorize_data.json` contiene tutti i token in chiaro. Conserva i backup dove solo tu puoi leggerli.\n\n## Ripristinare un backup\n\nFerma OpenLogger, sostituisci la cartella `databases` con il backup e avvia di nuovo OpenLogger.\n\n## Buono a sapersi\n\n- Le modifiche ai token e alla configurazione vengono scritte in `memorize_data.json` circa 10 secondi dopo che le salvi. Aspetta un momento prima di fermare l'app.\n- `logs.nosql` cresce con ogni log. Per tenerlo piccolo, [scarica](../download-logs/) i log che vuoi conservare e [svuota](../remove-logs/) il resto.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:28.886Z"}
{"id":"JapX0860V61f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/guides/backups/","project":"openlogger","version":"1-0","section":"guides","language":"sk","title":"Záloha dát","summary":"Ktoré súbory obsahujú tvoje dáta a ako ich zálohovať a obnoviť.","markdown":"---\ntitle: \"Záloha dát\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/guides/backups/\nupdated: 2026-11-19T08:02:28.886Z\n---\n\n# Záloha dát\n\n> Ktoré súbory obsahujú tvoje dáta a ako ich zálohovať a obnoviť.\n\nOpenLogger uchováva všetky svoje dáta v priečinku `databases` v priečinku aplikácie. S Dockerom je to zväzok pripojený na `/www/.src/databases`. Pozri si [Inštalácia s Dockerom](../install-docker/).\n\n## Súbory\n\n| Súbor | Čo obsahuje |\n|---|---|\n| `databases/logs.nosql` | Všetky logy, jeden na riadok. |\n| `databases/memorize_data.json` | API tokeny a konfiguráciu vrátane hlavného prístupového tokenu. |\n\n## Vytvorenie zálohy\n\n**1.** Zastav OpenLogger.\n\n**2.** Skopíruj priečinok `databases`:\n\n```bash\ncp -a databases databases-backup-$(date +%Y%m%d)\n```\n\n**3.** Znova spusti OpenLogger.\n\n`memorize_data.json` obsahuje všetky tokeny ako čistý text. Zálohy ukladaj tam, kde ich môžeš čítať len ty.\n\n## Obnovenie zálohy\n\nZastav OpenLogger, nahraď priečinok `databases` zálohou a OpenLogger znova spusti.\n\n## Dobré vedieť\n\n- Zmeny tokenov a konfigurácie sa do `memorize_data.json` zapíšu asi 10 sekúnd po uložení. Pred zastavením aplikácie chvíľu počkaj.\n- `logs.nosql` rastie s každým logom. Ak ho chceš udržať malý, [stiahni](../download-logs/) logy, ktoré si chceš ponechať, a ostatné [vymaž](../remove-logs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:28.886Z"}
{"id":"JapX0Z6PV60f","url":"https://totaljs.es/docs/openlogger/1-0/guides/production/","project":"openlogger","version":"1-0","section":"guides","language":"en","title":"Run in production","summary":"Start OpenLogger in release mode and protect the server.","markdown":"---\ntitle: Run in production\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/guides/production/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Run in production\n\n> Start OpenLogger in release mode and protect the server.\n\n`npm start` runs OpenLogger in debug mode, which is meant for development. On a server, start it in release mode.\n\n## Start in release mode\n\n```bash\nnode index.js 8000 --release\n```\n\nTo keep it running after you log out and after a restart of the server, start it with a process manager or a system service, for example systemd. The [Docker image](../install-docker/) runs in debug mode with `npm start`.\n\n## Protect the server\n\n- Set a [primary access token](../first-start/) before the server is reachable from the internet.\n- OpenLogger listens on all network interfaces. Put it behind a reverse proxy such as Nginx with HTTPS, and let only the proxy reach the port of OpenLogger. Tokens travel in every request, so never use plain HTTP over the internet.\n- If only your own servers send logs, allow only their addresses at the firewall or in the proxy.\n- Give every app its own [API token](../api-tokens/).\n- Back up the `databases` folder. See [Back up your data](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0Z6PV60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/guides/production/","project":"openlogger","version":"1-0","section":"guides","language":"de","title":"Im Produktivbetrieb laufen lassen","summary":"Starte OpenLogger im Release-Modus und schütz den Server.","markdown":"---\ntitle: Im Produktivbetrieb laufen lassen\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/guides/production/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Im Produktivbetrieb laufen lassen\n\n> Starte OpenLogger im Release-Modus und schütz den Server.\n\n`npm start` führt OpenLogger im Debug-Modus aus, der für die Entwicklung gedacht ist. Auf einem Server startest du es im Release-Modus.\n\n## Im Release-Modus starten\n\n```bash\nnode index.js 8000 --release\n```\n\nDamit es weiterläuft, nachdem du dich abmeldest und nachdem der Server neu startet, starte es mit einem Prozessmanager oder einem Systemdienst, zum Beispiel systemd. Das [Docker-Image](../install-docker/) läuft mit `npm start` im Debug-Modus.\n\n## Den Server schützen\n\n- Leg ein [Primary Access Token](../first-start/) fest, bevor der Server aus dem Internet erreichbar ist.\n- OpenLogger lauscht auf allen Netzwerkschnittstellen. Stell es hinter einen Reverse Proxy wie Nginx mit HTTPS und lass nur den Proxy an den Port von OpenLogger. Tokens reisen bei jeder Anfrage mit, nutze übers Internet also nie reines HTTP.\n- Wenn nur deine eigenen Server Logs senden, erlaube in der Firewall oder im Proxy nur ihre Adressen.\n- Gib jeder App ihr eigenes [API-Token](../api-tokens/).\n- Sichere den Ordner `databases`. Mehr dazu unter [Deine Daten sichern](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0Z6PV60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/guides/production/","project":"openlogger","version":"1-0","section":"guides","language":"es","title":"Ejecutar en producción","summary":"Arranca OpenLogger en modo release y protege el servidor.","markdown":"---\ntitle: \"Ejecutar en producción\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/guides/production/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Ejecutar en producción\n\n> Arranca OpenLogger en modo release y protege el servidor.\n\n`npm start` ejecuta OpenLogger en modo debug, pensado para el desarrollo. En un servidor, arráncalo en modo release.\n\n## Arrancar en modo release\n\n```bash\nnode index.js 8000 --release\n```\n\nPara que siga en marcha cuando cierres la sesión y después de reiniciar el servidor, arráncalo con un gestor de procesos o un servicio del sistema, por ejemplo systemd. La [imagen de Docker](../install-docker/) se ejecuta en modo debug con `npm start`.\n\n## Proteger el servidor\n\n- Pon un [token de acceso principal](../first-start/) antes de que se pueda llegar al servidor desde internet.\n- OpenLogger escucha en todas las interfaces de red. Ponlo detrás de un proxy inverso como Nginx con HTTPS, y deja que solo el proxy llegue al puerto de OpenLogger. Los tokens viajan en cada petición, así que nunca uses HTTP sin cifrar por internet.\n- Si solo tus propios servidores envían registros, permite únicamente sus direcciones en el cortafuegos o en el proxy.\n- Dale a cada app su propio [token de API](../api-tokens/).\n- Haz copias de seguridad de la carpeta `databases`. Consulta [Copia de seguridad de tus datos](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0Z6PV60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/guides/production/","project":"openlogger","version":"1-0","section":"guides","language":"fr","title":"Mettre en production","summary":"Démarre OpenLogger en mode release et protège le serveur.","markdown":"---\ntitle: Mettre en production\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/guides/production/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Mettre en production\n\n> Démarre OpenLogger en mode release et protège le serveur.\n\n`npm start` lance OpenLogger en mode debug, qui est prévu pour le développement. Sur un serveur, démarre-le en mode release.\n\n## Démarrer en mode release\n\n```bash\nnode index.js 8000 --release\n```\n\nPour qu’il continue de tourner après ta déconnexion et après un redémarrage du serveur, lance-le avec un gestionnaire de processus ou un service système, par exemple systemd. L’[image Docker](../install-docker/) tourne en mode debug avec `npm start`.\n\n## Protéger le serveur\n\n- Définis un [jeton d’accès principal](../first-start/) avant que le serveur soit joignable depuis internet.\n- OpenLogger écoute sur toutes les interfaces réseau. Place-le derrière un proxy inverse comme Nginx avec HTTPS, et laisse seulement le proxy joindre le port d’OpenLogger. Les jetons voyagent dans chaque requête, donc n’utilise jamais du HTTP simple sur internet.\n- Si seuls tes propres serveurs envoient des logs, autorise uniquement leurs adresses dans le pare-feu ou dans le proxy.\n- Donne à chaque application son propre [jeton d’API](../api-tokens/).\n- Sauvegarde le dossier `databases`. Consulte [Sauvegarder tes données](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0Z6PV60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/guides/production/","project":"openlogger","version":"1-0","section":"guides","language":"it","title":"Usare in produzione","summary":"Avvia OpenLogger in modalità release e proteggi il server.","markdown":"---\ntitle: Usare in produzione\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/guides/production/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Usare in produzione\n\n> Avvia OpenLogger in modalità release e proteggi il server.\n\n`npm start` esegue OpenLogger in modalità debug, pensata per lo sviluppo. Su un server, avvialo in modalità release.\n\n## Avviare in modalità release\n\n```bash\nnode index.js 8000 --release\n```\n\nPer tenerlo in funzione dopo che esci dalla sessione e dopo un riavvio del server, avvialo con un gestore di processi o con un servizio di sistema, per esempio systemd. L'[immagine Docker](../install-docker/) funziona in modalità debug con `npm start`.\n\n## Proteggere il server\n\n- Imposta un [token di accesso principale](../first-start/) prima che il server sia raggiungibile da internet.\n- OpenLogger è in ascolto su tutte le interfacce di rete. Mettilo dietro un reverse proxy come Nginx con HTTPS, e lascia che solo il proxy raggiunga la porta di OpenLogger. I token viaggiano in ogni richiesta, quindi non usare mai HTTP semplice su internet.\n- Se solo i tuoi server inviano log, consenti solo i loro indirizzi nel firewall o nel proxy.\n- Dai a ogni app il suo [token API](../api-tokens/).\n- Fai il backup della cartella `databases`. Leggi [Fare il backup dei dati](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0Z6PV60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/guides/production/","project":"openlogger","version":"1-0","section":"guides","language":"sk","title":"Prevádzka v produkcii","summary":"Spusti OpenLogger v režime release a ochráň server.","markdown":"---\ntitle: \"Prevádzka v produkcii\"\nproject: OpenLogger\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/guides/production/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Prevádzka v produkcii\n\n> Spusti OpenLogger v režime release a ochráň server.\n\n`npm start` spúšťa OpenLogger v režime debug, ktorý je určený na vývoj. Na serveri ho spusti v režime release.\n\n## Spustenie v režime release\n\n```bash\nnode index.js 8000 --release\n```\n\nAby bežal aj po odhlásení a po reštarte servera, spusti ho cez správcu procesov alebo systémovú službu, napríklad systemd. [Docker image](../install-docker/) beží v režime debug s `npm start`.\n\n## Ochrana servera\n\n- Nastav [hlavný prístupový token](../first-start/) skôr, než bude server dostupný z internetu.\n- OpenLogger počúva na všetkých sieťových rozhraniach. Daj ho za reverse proxy, napríklad Nginx s HTTPS, a na port OpenLogger nechaj pristupovať len proxy. Tokeny putujú v každej požiadavke, preto cez internet nikdy nepoužívaj čisté HTTP.\n- Ak logy posielajú len tvoje vlastné servery, povoľ na firewalle alebo v proxy len ich adresy.\n- Daj každej aplikácii vlastný [API token](../api-tokens/).\n- Zálohuj priečinok `databases`. Pozri si [Záloha dát](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0j6bV60f","url":"https://totaljs.es/docs/openlogger/1-0/reference/rest-api/","project":"openlogger","version":"1-0","section":"reference","language":"en","title":"REST API overview","summary":"The endpoints your apps call, how to send the token and what comes back.","markdown":"---\ntitle: REST API overview\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/reference/rest-api/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# REST API overview\n\n> The endpoints your apps call, how to send the token and what comes back.\n\nYour apps talk to OpenLogger over HTTP. Every address starts with your OpenLogger address, for example `https://logs.example.com`.\n\n## Endpoints\n\n| Method and path | Token | What it does |\n|---|---|---|\n| `POST /` | API token | [Send a log](../send-log/). |\n| `POST /api/` | Primary access token | [Read, remove and clear logs](../read-logs/). |\n| `GET /api/download/` | Primary access token | [Download the log file](../read-logs/). |\n\n## Send the token\n\nSend the token in one of two ways:\n\n- in the `x-token` header:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"app\":\"Demo project\",\"type\":\"info\",\"message\":\"User signed in\"}' \\\n  https://logs.example.com/\n```\n\n- or as the `token` query argument:\n\n```bash\ncurl -H \"content-type: application/json\" \\\n  -d '{\"app\":\"Demo project\",\"type\":\"info\",\"message\":\"User signed in\"}' \\\n  \"https://logs.example.com/?token=YOUR_TOKEN\"\n```\n\nThe header keeps the token out of server logs, so prefer it when your app can set headers.\n\n## Request formats\n\n`POST /` accepts JSON (`application/json`) and form data (`application/x-www-form-urlencoded`):\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" \\\n  -d \"app=Demo project\" -d \"message=Nightly backup finished\" \\\n  https://logs.example.com/\n```\n\n## What comes back\n\nA stored log answers `200`:\n\n```json\n{\"success\":true}\n```\n\nErrors come back as a JSON array or, for a wrong token, an HTML page. See [Errors](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0j6bV60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/reference/rest-api/","project":"openlogger","version":"1-0","section":"reference","language":"de","title":"Überblick über die REST API","summary":"Die Endpunkte, die deine Apps aufrufen, wie du das Token mitschickst und was zurückkommt.","markdown":"---\ntitle: \"Überblick über die REST API\"\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/reference/rest-api/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Überblick über die REST API\n\n> Die Endpunkte, die deine Apps aufrufen, wie du das Token mitschickst und was zurückkommt.\n\nDeine Apps sprechen über HTTP mit OpenLogger. Jede Adresse beginnt mit deiner OpenLogger-Adresse, zum Beispiel `https://logs.example.com`.\n\n## Endpunkte\n\n| Methode und Pfad | Token | Was er macht |\n|---|---|---|\n| `POST /` | API-Token | [Ein Log senden](../send-log/). |\n| `POST /api/` | Primary Access Token | [Logs lesen, entfernen und leeren](../read-logs/). |\n| `GET /api/download/` | Primary Access Token | [Die Log-Datei herunterladen](../read-logs/). |\n\n## Das Token mitschicken\n\nDu schickst das Token auf eine von zwei Arten mit:\n\n- im Header `x-token`:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"app\":\"Demo project\",\"type\":\"info\",\"message\":\"User signed in\"}' \\\n  https://logs.example.com/\n```\n\n- oder als Query-Argument `token`:\n\n```bash\ncurl -H \"content-type: application/json\" \\\n  -d '{\"app\":\"Demo project\",\"type\":\"info\",\"message\":\"User signed in\"}' \\\n  \"https://logs.example.com/?token=YOUR_TOKEN\"\n```\n\nDer Header hält das Token aus den Server-Logs heraus, nimm ihn also lieber, wenn deine App Header setzen kann.\n\n## Anfrageformate\n\n`POST /` akzeptiert JSON (`application/json`) und Formulardaten (`application/x-www-form-urlencoded`):\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" \\\n  -d \"app=Demo project\" -d \"message=Nightly backup finished\" \\\n  https://logs.example.com/\n```\n\n## Was zurückkommt\n\nEin gespeichertes Log antwortet mit `200`:\n\n```json\n{\"success\":true}\n```\n\nFehler kommen als JSON-Array zurück oder, bei einem falschen Token, als HTML-Seite. Mehr dazu unter [Fehler](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0j6bV60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/reference/rest-api/","project":"openlogger","version":"1-0","section":"reference","language":"es","title":"Resumen de la API REST","summary":"Los endpoints a los que llaman tus apps, cómo enviar el token y qué recibes de vuelta.","markdown":"---\ntitle: Resumen de la API REST\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/reference/rest-api/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Resumen de la API REST\n\n> Los endpoints a los que llaman tus apps, cómo enviar el token y qué recibes de vuelta.\n\nTus apps hablan con OpenLogger por HTTP. Todas las direcciones empiezan por la dirección de tu OpenLogger, por ejemplo `https://logs.example.com`.\n\n## Endpoints\n\n| Método y ruta | Token | Qué hace |\n|---|---|---|\n| `POST /` | Token de API | [Enviar un registro](../send-log/). |\n| `POST /api/` | Token de acceso principal | [Leer, borrar y vaciar los registros](../read-logs/). |\n| `GET /api/download/` | Token de acceso principal | [Descargar el archivo de registros](../read-logs/). |\n\n## Enviar el token\n\nEnvía el token de una de estas dos formas:\n\n- en la cabecera `x-token`:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"app\":\"Demo project\",\"type\":\"info\",\"message\":\"User signed in\"}' \\\n  https://logs.example.com/\n```\n\n- o como argumento de consulta `token`:\n\n```bash\ncurl -H \"content-type: application/json\" \\\n  -d '{\"app\":\"Demo project\",\"type\":\"info\",\"message\":\"User signed in\"}' \\\n  \"https://logs.example.com/?token=YOUR_TOKEN\"\n```\n\nLa cabecera mantiene el token fuera de los registros del servidor, así que úsala si tu app puede poner cabeceras.\n\n## Formatos de la petición\n\n`POST /` acepta JSON (`application/json`) y datos de formulario (`application/x-www-form-urlencoded`):\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" \\\n  -d \"app=Demo project\" -d \"message=Nightly backup finished\" \\\n  https://logs.example.com/\n```\n\n## Qué recibes de vuelta\n\nUn registro guardado responde `200`:\n\n```json\n{\"success\":true}\n```\n\nLos errores llegan como un array JSON o, si el token es incorrecto, como una página HTML. Consulta [Errores](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0j6bV60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/reference/rest-api/","project":"openlogger","version":"1-0","section":"reference","language":"fr","title":"Vue d’ensemble de l’API REST","summary":"Les endpoints que tes applications appellent, comment envoyer le jeton et ce qui revient.","markdown":"---\ntitle: \"Vue d’ensemble de l’API REST\"\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/reference/rest-api/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Vue d’ensemble de l’API REST\n\n> Les endpoints que tes applications appellent, comment envoyer le jeton et ce qui revient.\n\nTes applications parlent à OpenLogger en HTTP. Chaque adresse commence par l’adresse de ton OpenLogger, par exemple `https://logs.example.com`.\n\n## Endpoints\n\n| Méthode et chemin | Jeton | Ce qu’il fait |\n|---|---|---|\n| `POST /` | Jeton d’API | [Envoyer un log](../send-log/). |\n| `POST /api/` | Jeton d’accès principal | [Lire, supprimer et vider les logs](../read-logs/). |\n| `GET /api/download/` | Jeton d’accès principal | [Télécharger le fichier des logs](../read-logs/). |\n\n## Envoyer le jeton\n\nEnvoie le jeton de l’une de ces deux façons :\n\n- dans l’en-tête `x-token` :\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"app\":\"Demo project\",\"type\":\"info\",\"message\":\"User signed in\"}' \\\n  https://logs.example.com/\n```\n\n- ou comme argument de requête `token` :\n\n```bash\ncurl -H \"content-type: application/json\" \\\n  -d '{\"app\":\"Demo project\",\"type\":\"info\",\"message\":\"User signed in\"}' \\\n  \"https://logs.example.com/?token=YOUR_TOKEN\"\n```\n\nL’en-tête garde le jeton hors des logs du serveur, alors préfère-le quand ton application peut définir des en-têtes.\n\n## Formats de requête\n\n`POST /` accepte du JSON (`application/json`) et des données de formulaire (`application/x-www-form-urlencoded`) :\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" \\\n  -d \"app=Demo project\" -d \"message=Nightly backup finished\" \\\n  https://logs.example.com/\n```\n\n## Ce qui revient\n\nUn log enregistré répond `200` :\n\n```json\n{\"success\":true}\n```\n\nLes erreurs reviennent sous forme de tableau JSON ou, pour un mauvais jeton, d’une page HTML. Consulte [Erreurs](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0j6bV60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/reference/rest-api/","project":"openlogger","version":"1-0","section":"reference","language":"it","title":"Panoramica della REST API","summary":"Gli endpoint che chiamano le tue app, come inviare il token e cosa ricevi in risposta.","markdown":"---\ntitle: Panoramica della REST API\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/reference/rest-api/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Panoramica della REST API\n\n> Gli endpoint che chiamano le tue app, come inviare il token e cosa ricevi in risposta.\n\nLe tue app comunicano con OpenLogger via HTTP. Ogni indirizzo inizia con l'indirizzo del tuo OpenLogger, per esempio `https://logs.example.com`.\n\n## Endpoint\n\n| Metodo e percorso | Token | Cosa fa |\n|---|---|---|\n| `POST /` | Token API | [Invia un log](../send-log/). |\n| `POST /api/` | Token di accesso principale | [Legge, rimuove e svuota i log](../read-logs/). |\n| `GET /api/download/` | Token di accesso principale | [Scarica il file dei log](../read-logs/). |\n\n## Inviare il token\n\nInvia il token in uno di questi due modi:\n\n- nell'header `x-token`:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"app\":\"Demo project\",\"type\":\"info\",\"message\":\"User signed in\"}' \\\n  https://logs.example.com/\n```\n\n- oppure come argomento `token` della query:\n\n```bash\ncurl -H \"content-type: application/json\" \\\n  -d '{\"app\":\"Demo project\",\"type\":\"info\",\"message\":\"User signed in\"}' \\\n  \"https://logs.example.com/?token=YOUR_TOKEN\"\n```\n\nL'header tiene il token fuori dai log del server, quindi preferiscilo quando la tua app può impostare gli header.\n\n## Formati della richiesta\n\n`POST /` accetta JSON (`application/json`) e dati di modulo (`application/x-www-form-urlencoded`):\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" \\\n  -d \"app=Demo project\" -d \"message=Nightly backup finished\" \\\n  https://logs.example.com/\n```\n\n## Cosa ricevi in risposta\n\nUn log salvato risponde `200`:\n\n```json\n{\"success\":true}\n```\n\nGli errori arrivano come array JSON oppure, per un token sbagliato, come pagina HTML. Leggi [Errori](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0j6bV60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/reference/rest-api/","project":"openlogger","version":"1-0","section":"reference","language":"sk","title":"Prehľad REST API","summary":"Endpointy, ktoré volajú tvoje aplikácie, ako poslať token a čo príde späť.","markdown":"---\ntitle: \"Prehľad REST API\"\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/reference/rest-api/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Prehľad REST API\n\n> Endpointy, ktoré volajú tvoje aplikácie, ako poslať token a čo príde späť.\n\nTvoje aplikácie komunikujú s OpenLogger cez HTTP. Každá adresa sa začína adresou tvojho OpenLogger, napríklad `https://logs.example.com`.\n\n## Endpointy\n\n| Metóda a cesta | Token | Čo robí |\n|---|---|---|\n| `POST /` | API token | [Pošle log](../send-log/). |\n| `POST /api/` | Hlavný prístupový token | [Číta, odstraňuje a vymazáva logy](../read-logs/). |\n| `GET /api/download/` | Hlavný prístupový token | [Stiahne súbor s logmi](../read-logs/). |\n\n## Poslanie tokenu\n\nToken pošli jedným z dvoch spôsobov:\n\n- v hlavičke `x-token`:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"app\":\"Demo project\",\"type\":\"info\",\"message\":\"User signed in\"}' \\\n  https://logs.example.com/\n```\n\n- alebo ako argument `token` v query stringu:\n\n```bash\ncurl -H \"content-type: application/json\" \\\n  -d '{\"app\":\"Demo project\",\"type\":\"info\",\"message\":\"User signed in\"}' \\\n  \"https://logs.example.com/?token=YOUR_TOKEN\"\n```\n\nHlavička udrží token mimo logov servera, takže ju uprednostni, keď tvoja aplikácia dokáže nastaviť hlavičky.\n\n## Formáty požiadaviek\n\n`POST /` prijíma JSON (`application/json`) aj dáta formulára (`application/x-www-form-urlencoded`):\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" \\\n  -d \"app=Demo project\" -d \"message=Nightly backup finished\" \\\n  https://logs.example.com/\n```\n\n## Čo príde späť\n\nPri uloženom logu príde odpoveď `200`:\n\n```json\n{\"success\":true}\n```\n\nChyby prídu ako pole JSON alebo, pri nesprávnom tokene, ako stránka HTML. Pozri si [Chyby](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0k6dV60f","url":"https://totaljs.es/docs/openlogger/1-0/reference/send-log/","project":"openlogger","version":"1-0","section":"reference","language":"en","title":"Send a log","summary":"POST / stores one log: the fields, their limits and an example.","markdown":"---\ntitle: Send a log\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/reference/send-log/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Send a log\n\n> POST / stores one log: the fields, their limits and an example.\n\n`POST /` stores one log. Send it with an [API token](../../guides/api-tokens/).\n\n## Request\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\n    \"app\": \"Demo project\",\n    \"type\": \"error\",\n    \"schema\": \"Reports\",\n    \"message\": \"Report export failed: timeout\",\n    \"userid\": \"u101\",\n    \"username\": \"John Smith\",\n    \"url\": \"https://app.example.com/reports/\",\n    \"ip\": \"198.51.100.7\",\n    \"ua\": \"Chrome 131 (Windows)\",\n    \"data\": \"{\\\"report\\\":\\\"monthly\\\",\\\"timeout\\\":30000}\"\n  }' \\\n  https://logs.example.com/\n```\n\nResponse `200`:\n\n```json\n{\"success\":true}\n```\n\n## Fields\n\n| Field | Required | Max. length | What it holds |\n|---|---|---|---|\n| `app` | yes | 40 | The name of the app, for example `Demo project`. Shown in **App**. |\n| `type` | no | | `info`, `warning`, `error` or `success`, in lower case. Any other value, or none, is stored as `info`. |\n| `message` | no | 500 | The text of the log. |\n| `schema` | no | 50 | The part of the app, for example `Orders` or `Users`. |\n| `userid` | no | 30 | The ID of the user. |\n| `username` | no | 50 | The name of the user. |\n| `url` | no | 100 | The address the user was on. |\n| `ip` | no | 80 | The IP address of the user. |\n| `ua` | no | 30 | The device or browser, shown in **Device**. |\n| `data` | no | | Extra data as a **JSON string**. Shown formatted in [Log detail](../../guides/log-detail/). |\n| `reference` | no | 50 | Your own reference, for example an order number. Only in the [downloaded file](../../guides/download-logs/). |\n| `date` | no | | The time of the event, as an ISO date. Only in the downloaded file. Without it, the time of arrival is used. |\n| `clientside` | no | | `true` if the event happened in the browser. Only in the downloaded file. |\n\nOpenLogger adds `id` and `dtcreated`, the time it received the log. Other fields are ignored.\n\n## Rules\n\n- A longer value is cut to the maximum length, without an error.\n- `data` must be a string. Turn an object into JSON first, for example with `JSON.stringify()` in JavaScript. An object sent as it is gets stored empty.\n- Without `app`, the request fails with `400`. See [Errors](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0k6dV60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/reference/send-log/","project":"openlogger","version":"1-0","section":"reference","language":"de","title":"Ein Log senden","summary":"POST / speichert ein Log: die Felder, ihre Grenzen und ein Beispiel.","markdown":"---\ntitle: Ein Log senden\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/reference/send-log/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Ein Log senden\n\n> POST / speichert ein Log: die Felder, ihre Grenzen und ein Beispiel.\n\n`POST /` speichert ein Log. Schick es mit einem [API-Token](../../guides/api-tokens/).\n\n## Anfrage\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\n    \"app\": \"Demo project\",\n    \"type\": \"error\",\n    \"schema\": \"Reports\",\n    \"message\": \"Report export failed: timeout\",\n    \"userid\": \"u101\",\n    \"username\": \"John Smith\",\n    \"url\": \"https://app.example.com/reports/\",\n    \"ip\": \"198.51.100.7\",\n    \"ua\": \"Chrome 131 (Windows)\",\n    \"data\": \"{\\\"report\\\":\\\"monthly\\\",\\\"timeout\\\":30000}\"\n  }' \\\n  https://logs.example.com/\n```\n\nAntwort `200`:\n\n```json\n{\"success\":true}\n```\n\n## Felder\n\n| Feld | Pflicht | Max. Länge | Was es enthält |\n|---|---|---|---|\n| `app` | ja | 40 | Der Name der App, zum Beispiel `Demo project`. Erscheint in **App**. |\n| `type` | nein | | `info`, `warning`, `error` oder `success`, kleingeschrieben. Jeder andere Wert, oder keiner, wird als `info` gespeichert. |\n| `message` | nein | 500 | Der Text des Logs. |\n| `schema` | nein | 50 | Der Teil der App, zum Beispiel `Orders` oder `Users`. |\n| `userid` | nein | 30 | Die ID des Benutzers. |\n| `username` | nein | 50 | Der Name des Benutzers. |\n| `url` | nein | 100 | Die Adresse, auf der der Benutzer war. |\n| `ip` | nein | 80 | Die IP-Adresse des Benutzers. |\n| `ua` | nein | 30 | Das Gerät oder der Browser, angezeigt in **Device**. |\n| `data` | nein | | Zusatzdaten als **JSON-String**. Erscheinen formatiert im [Log-Detail](../../guides/log-detail/). |\n| `reference` | nein | 50 | Deine eigene Referenz, zum Beispiel eine Bestellnummer. Nur in der [heruntergeladenen Datei](../../guides/download-logs/). |\n| `date` | nein | | Der Zeitpunkt des Ereignisses, als ISO-Datum. Nur in der heruntergeladenen Datei. Ohne dieses Feld wird der Zeitpunkt des Eingangs verwendet. |\n| `clientside` | nein | | `true`, wenn das Ereignis im Browser passiert ist. Nur in der heruntergeladenen Datei. |\n\nOpenLogger fügt `id` und `dtcreated` hinzu, den Zeitpunkt, zu dem es das Log empfangen hat. Andere Felder werden ignoriert.\n\n## Regeln\n\n- Ein längerer Wert wird ohne Fehler auf die maximale Länge gekürzt.\n- `data` muss ein String sein. Wandle ein Objekt vorher in JSON um, zum Beispiel mit `JSON.stringify()` in JavaScript. Ein Objekt, das du unverändert schickst, wird leer gespeichert.\n- Ohne `app` schlägt die Anfrage mit `400` fehl. Mehr dazu unter [Fehler](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0k6dV60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/reference/send-log/","project":"openlogger","version":"1-0","section":"reference","language":"es","title":"Enviar un registro","summary":"POST / guarda un registro: los campos, sus límites y un ejemplo.","markdown":"---\ntitle: Enviar un registro\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/reference/send-log/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Enviar un registro\n\n> POST / guarda un registro: los campos, sus límites y un ejemplo.\n\n`POST /` guarda un registro. Envíalo con un [token de API](../../guides/api-tokens/).\n\n## Petición\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\n    \"app\": \"Demo project\",\n    \"type\": \"error\",\n    \"schema\": \"Reports\",\n    \"message\": \"Report export failed: timeout\",\n    \"userid\": \"u101\",\n    \"username\": \"John Smith\",\n    \"url\": \"https://app.example.com/reports/\",\n    \"ip\": \"198.51.100.7\",\n    \"ua\": \"Chrome 131 (Windows)\",\n    \"data\": \"{\\\"report\\\":\\\"monthly\\\",\\\"timeout\\\":30000}\"\n  }' \\\n  https://logs.example.com/\n```\n\nRespuesta `200`:\n\n```json\n{\"success\":true}\n```\n\n## Campos\n\n| Campo | Obligatorio | Longitud máx. | Qué contiene |\n|---|---|---|---|\n| `app` | sí | 40 | El nombre de la app, por ejemplo `Demo project`. Se muestra en **App**. |\n| `type` | no | | `info`, `warning`, `error` o `success`, en minúsculas. Cualquier otro valor, o ninguno, se guarda como `info`. |\n| `message` | no | 500 | El texto del registro. |\n| `schema` | no | 50 | La parte de la app, por ejemplo `Orders` o `Users`. |\n| `userid` | no | 30 | El ID del usuario. |\n| `username` | no | 50 | El nombre del usuario. |\n| `url` | no | 100 | La dirección en la que estaba el usuario. |\n| `ip` | no | 80 | La dirección IP del usuario. |\n| `ua` | no | 30 | El dispositivo o el navegador, que se muestra en **Device**. |\n| `data` | no | | Datos extra como **cadena JSON**. Se muestran formateados en [Detalle del registro](../../guides/log-detail/). |\n| `reference` | no | 50 | Tu propia referencia, por ejemplo un número de pedido. Solo en el [archivo descargado](../../guides/download-logs/). |\n| `date` | no | | La hora del evento, como fecha ISO. Solo en el archivo descargado. Sin ella, se usa la hora de llegada. |\n| `clientside` | no | | `true` si el evento ocurrió en el navegador. Solo en el archivo descargado. |\n\nOpenLogger añade `id` y `dtcreated`, la hora a la que recibió el registro. Los demás campos se ignoran.\n\n## Reglas\n\n- Un valor más largo se corta a la longitud máxima, sin dar error.\n- `data` tiene que ser una cadena. Convierte antes un objeto en JSON, por ejemplo con `JSON.stringify()` en JavaScript. Un objeto enviado tal cual se guarda vacío.\n- Sin `app`, la petición falla con `400`. Consulta [Errores](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0k6dV60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/reference/send-log/","project":"openlogger","version":"1-0","section":"reference","language":"fr","title":"Envoyer un log","summary":"POST / enregistre un log : les champs, leurs limites et un exemple.","markdown":"---\ntitle: Envoyer un log\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/reference/send-log/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Envoyer un log\n\n> POST / enregistre un log : les champs, leurs limites et un exemple.\n\n`POST /` enregistre un log. Envoie-le avec un [jeton d’API](../../guides/api-tokens/).\n\n## Requête\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\n    \"app\": \"Demo project\",\n    \"type\": \"error\",\n    \"schema\": \"Reports\",\n    \"message\": \"Report export failed: timeout\",\n    \"userid\": \"u101\",\n    \"username\": \"John Smith\",\n    \"url\": \"https://app.example.com/reports/\",\n    \"ip\": \"198.51.100.7\",\n    \"ua\": \"Chrome 131 (Windows)\",\n    \"data\": \"{\\\"report\\\":\\\"monthly\\\",\\\"timeout\\\":30000}\"\n  }' \\\n  https://logs.example.com/\n```\n\nRéponse `200` :\n\n```json\n{\"success\":true}\n```\n\n## Champs\n\n| Champ | Obligatoire | Longueur max. | Ce qu’il contient |\n|---|---|---|---|\n| `app` | oui | 40 | Le nom de l’application, par exemple `Demo project`. Affiché dans **App**. |\n| `type` | non | | `info`, `warning`, `error` ou `success`, en minuscules. Toute autre valeur, ou aucune, est enregistrée comme `info`. |\n| `message` | non | 500 | Le texte du log. |\n| `schema` | non | 50 | La partie de l’application, par exemple `Orders` ou `Users`. |\n| `userid` | non | 30 | L’ID de l’utilisateur. |\n| `username` | non | 50 | Le nom de l’utilisateur. |\n| `url` | non | 100 | L’adresse où se trouvait l’utilisateur. |\n| `ip` | non | 80 | L’adresse IP de l’utilisateur. |\n| `ua` | non | 30 | L’appareil ou le navigateur, affiché dans **Device**. |\n| `data` | non | | Des données en plus sous forme de **chaîne JSON**. Affichées mises en forme dans [Détail d’un log](../../guides/log-detail/). |\n| `reference` | non | 50 | Ta propre référence, par exemple un numéro de commande. Seulement dans le [fichier téléchargé](../../guides/download-logs/). |\n| `date` | non | | Le moment de l’événement, sous forme de date ISO. Seulement dans le fichier téléchargé. Sans elle, l’heure d’arrivée est utilisée. |\n| `clientside` | non | | `true` si l’événement s’est produit dans le navigateur. Seulement dans le fichier téléchargé. |\n\nOpenLogger ajoute `id` et `dtcreated`, le moment où il a reçu le log. Les autres champs sont ignorés.\n\n## Règles\n\n- Une valeur plus longue est coupée à la longueur maximale, sans erreur.\n- `data` doit être une chaîne. Transforme d’abord un objet en JSON, par exemple avec `JSON.stringify()` en JavaScript. Un objet envoyé tel quel est enregistré vide.\n- Sans `app`, la requête échoue avec `400`. Consulte [Erreurs](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0k6dV60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/reference/send-log/","project":"openlogger","version":"1-0","section":"reference","language":"it","title":"Inviare un log","summary":"POST / salva un log: i campi, i loro limiti e un esempio.","markdown":"---\ntitle: Inviare un log\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/reference/send-log/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Inviare un log\n\n> POST / salva un log: i campi, i loro limiti e un esempio.\n\n`POST /` salva un log. Invialo con un [token API](../../guides/api-tokens/).\n\n## Richiesta\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\n    \"app\": \"Demo project\",\n    \"type\": \"error\",\n    \"schema\": \"Reports\",\n    \"message\": \"Report export failed: timeout\",\n    \"userid\": \"u101\",\n    \"username\": \"John Smith\",\n    \"url\": \"https://app.example.com/reports/\",\n    \"ip\": \"198.51.100.7\",\n    \"ua\": \"Chrome 131 (Windows)\",\n    \"data\": \"{\\\"report\\\":\\\"monthly\\\",\\\"timeout\\\":30000}\"\n  }' \\\n  https://logs.example.com/\n```\n\nRisposta `200`:\n\n```json\n{\"success\":true}\n```\n\n## Campi\n\n| Campo | Obbligatorio | Lunghezza max. | Cosa contiene |\n|---|---|---|---|\n| `app` | sì | 40 | Il nome dell'app, per esempio `Demo project`. Mostrato in **App**. |\n| `type` | no | | `info`, `warning`, `error` o `success`, in minuscolo. Qualsiasi altro valore, o nessun valore, viene salvato come `info`. |\n| `message` | no | 500 | Il testo del log. |\n| `schema` | no | 50 | La parte dell'app, per esempio `Orders` o `Users`. |\n| `userid` | no | 30 | L'ID dell'utente. |\n| `username` | no | 50 | Il nome dell'utente. |\n| `url` | no | 100 | L'indirizzo in cui si trovava l'utente. |\n| `ip` | no | 80 | L'indirizzo IP dell'utente. |\n| `ua` | no | 30 | Il dispositivo o il browser, mostrato in **Device**. |\n| `data` | no | | Dati aggiuntivi come **stringa JSON**. Mostrati formattati in [Dettaglio di un log](../../guides/log-detail/). |\n| `reference` | no | 50 | Un tuo riferimento, per esempio un numero d'ordine. Solo nel [file scaricato](../../guides/download-logs/). |\n| `date` | no | | Il momento dell'evento, come data ISO. Solo nel file scaricato. Se manca, si usa il momento di arrivo. |\n| `clientside` | no | | `true` se l'evento è avvenuto nel browser. Solo nel file scaricato. |\n\nOpenLogger aggiunge `id` e `dtcreated`, il momento in cui ha ricevuto il log. Gli altri campi vengono ignorati.\n\n## Regole\n\n- Un valore più lungo viene tagliato alla lunghezza massima, senza errori.\n- `data` deve essere una stringa. Prima trasforma un oggetto in JSON, per esempio con `JSON.stringify()` in JavaScript. Un oggetto inviato così com'è viene salvato vuoto.\n- Senza `app`, la richiesta fallisce con `400`. Leggi [Errori](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0k6dV60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/reference/send-log/","project":"openlogger","version":"1-0","section":"reference","language":"sk","title":"Poslanie logu","summary":"POST / uloží jeden log: polia, ich limity a príklad.","markdown":"---\ntitle: Poslanie logu\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/reference/send-log/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Poslanie logu\n\n> POST / uloží jeden log: polia, ich limity a príklad.\n\n`POST /` uloží jeden log. Pošli ho s [API tokenom](../../guides/api-tokens/).\n\n## Požiadavka\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\n    \"app\": \"Demo project\",\n    \"type\": \"error\",\n    \"schema\": \"Reports\",\n    \"message\": \"Report export failed: timeout\",\n    \"userid\": \"u101\",\n    \"username\": \"John Smith\",\n    \"url\": \"https://app.example.com/reports/\",\n    \"ip\": \"198.51.100.7\",\n    \"ua\": \"Chrome 131 (Windows)\",\n    \"data\": \"{\\\"report\\\":\\\"monthly\\\",\\\"timeout\\\":30000}\"\n  }' \\\n  https://logs.example.com/\n```\n\nOdpoveď `200`:\n\n```json\n{\"success\":true}\n```\n\n## Polia\n\n| Pole | Povinné | Max. dĺžka | Čo obsahuje |\n|---|---|---|---|\n| `app` | áno | 40 | Názov aplikácie, napríklad `Demo project`. Zobrazuje sa v **App**. |\n| `type` | nie | | `info`, `warning`, `error` alebo `success`, malými písmenami. Každá iná hodnota alebo žiadna sa uloží ako `info`. |\n| `message` | nie | 500 | Text logu. |\n| `schema` | nie | 50 | Časť aplikácie, napríklad `Orders` alebo `Users`. |\n| `userid` | nie | 30 | ID používateľa. |\n| `username` | nie | 50 | Meno používateľa. |\n| `url` | nie | 100 | Adresa, na ktorej bol používateľ. |\n| `ip` | nie | 80 | IP adresa používateľa. |\n| `ua` | nie | 30 | Zariadenie alebo prehliadač, zobrazuje sa v **Device**. |\n| `data` | nie | | Ďalšie dáta ako **reťazec JSON**. Naformátované sa zobrazujú v [Detail logu](../../guides/log-detail/). |\n| `reference` | nie | 50 | Tvoj vlastný odkaz, napríklad číslo objednávky. Len v [stiahnutom súbore](../../guides/download-logs/). |\n| `date` | nie | | Čas udalosti ako dátum ISO. Len v stiahnutom súbore. Bez neho sa použije čas prijatia. |\n| `clientside` | nie | | `true`, ak sa udalosť stala v prehliadači. Len v stiahnutom súbore. |\n\nOpenLogger pridá `id` a `dtcreated`, čas, keď log prijal. Ostatné polia sa ignorujú.\n\n## Pravidlá\n\n- Dlhšia hodnota sa bez chyby odreže na maximálnu dĺžku.\n- `data` musí byť reťazec. Objekt najprv premeň na JSON, napríklad pomocou `JSON.stringify()` v JavaScripte. Objekt poslaný tak, ako je, sa uloží prázdny.\n- Bez `app` požiadavka zlyhá s `400`. Pozri si [Chyby](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0h6ZV60f","url":"https://totaljs.es/docs/openlogger/1-0/reference/read-logs/","project":"openlogger","version":"1-0","section":"reference","language":"en","title":"Read logs with the admin API","summary":"Query, remove, clear and download logs from a script with the primary access token.","markdown":"---\ntitle: Read logs with the admin API\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/reference/read-logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Read logs with the admin API\n\n> Query, remove, clear and download logs from a script with the primary access token.\n\nThe admin interface reads the logs through `POST /api/`. Your scripts can do the same with the **primary access token**. An API token does not work here.\n\nEvery request sends a JSON body with a `schema` that names the action, followed by its arguments as a query string.\n\n## Query logs\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs?type=error&fields=app,type,message&limit=1\"}' \\\n  https://logs.example.com/api/\n```\n\nResponse:\n\n```json\n{\"items\":[{\"app\":\"Demo shop\",\"type\":\"error\",\"message\":\"Stock check failed for order 1002\"}],\"count\":2,\"page\":1,\"limit\":1,\"pages\":2}\n```\n\n`count` is the number of matching logs, `pages` the number of pages.\n\n### Arguments\n\n| Argument | Example | What it does |\n|---|---|---|\n| a field name | `app=shop` | Filters by `app`, `type`, `schema`, `userid`, `username`, `message`, `url`, `ip`, `ua`, `data` or `id`. Finds the text anywhere in the field and ignores upper and lower case. |\n| `dtcreated` | `dtcreated=2026-11-19` | Filters by the day the log arrived. A range: `dtcreated=2026-11-18 - 2026-11-20`. |\n| `sort` | `sort=app_asc` | Sorts by a field, `_asc` or `_desc`. The default is `dtcreated_desc`, newest first. |\n| `fields` | `fields=app,message` | Returns only these fields. |\n| `page` | `page=2` | The page to return. |\n| `limit` | `limit=20` | Logs per page, at most 100. |\n\nEach item holds `id`, `app`, `type`, `schema`, `userid`, `username`, `ua`, `message`, `url`, `ip`, `dtcreated` and `data`.\n\n## Remove logs\n\nPass the IDs of the logs, separated by commas:\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs_remove?id=24nap001bg51d,24nap002bg50d\"}' \\\n  https://logs.example.com/api/\n```\n\nResponse:\n\n```json\n{\"success\":true}\n```\n\n## Clear all logs\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs_clear\"}' \\\n  https://logs.example.com/api/\n```\n\nResponse:\n\n```json\n{\"success\":true}\n```\n\n## Download the log file\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -o logs.nosql https://logs.example.com/api/download/\n```\n\nSee [Download logs](../../guides/download-logs/) for what the file holds.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0h6ZV60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/reference/read-logs/","project":"openlogger","version":"1-0","section":"reference","language":"de","title":"Logs mit der Admin-API lesen","summary":"Frag Logs ab, entferne, leere und lade sie aus einem Skript herunter, mit dem Primary Access Token.","markdown":"---\ntitle: Logs mit der Admin-API lesen\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/reference/read-logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Logs mit der Admin-API lesen\n\n> Frag Logs ab, entferne, leere und lade sie aus einem Skript herunter, mit dem Primary Access Token.\n\nDie Admin-Oberfläche liest die Logs über `POST /api/`. Deine Skripte können das auch, mit dem **Primary Access Token**. Ein API-Token funktioniert hier nicht.\n\nJede Anfrage schickt einen JSON-Body mit einem `schema`, das die Aktion nennt, gefolgt von ihren Argumenten als Query-String.\n\n## Logs abfragen\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs?type=error&fields=app,type,message&limit=1\"}' \\\n  https://logs.example.com/api/\n```\n\nAntwort:\n\n```json\n{\"items\":[{\"app\":\"Demo shop\",\"type\":\"error\",\"message\":\"Stock check failed for order 1002\"}],\"count\":2,\"page\":1,\"limit\":1,\"pages\":2}\n```\n\n`count` ist die Anzahl der passenden Logs, `pages` die Anzahl der Seiten.\n\n### Argumente\n\n| Argument | Beispiel | Was es macht |\n|---|---|---|\n| ein Feldname | `app=shop` | Filtert nach `app`, `type`, `schema`, `userid`, `username`, `message`, `url`, `ip`, `ua`, `data` oder `id`. Findet den Text überall im Feld und ignoriert Groß- und Kleinschreibung. |\n| `dtcreated` | `dtcreated=2026-11-19` | Filtert nach dem Tag, an dem das Log ankam. Ein Zeitraum: `dtcreated=2026-11-18 - 2026-11-20`. |\n| `sort` | `sort=app_asc` | Sortiert nach einem Feld, `_asc` oder `_desc`. Standard ist `dtcreated_desc`, die neuesten zuerst. |\n| `fields` | `fields=app,message` | Gibt nur diese Felder zurück. |\n| `page` | `page=2` | Die Seite, die zurückgegeben wird. |\n| `limit` | `limit=20` | Logs pro Seite, höchstens 100. |\n\nJeder Eintrag enthält `id`, `app`, `type`, `schema`, `userid`, `username`, `ua`, `message`, `url`, `ip`, `dtcreated` und `data`.\n\n## Logs entfernen\n\nGib die IDs der Logs mit, durch Kommas getrennt:\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs_remove?id=24nap001bg51d,24nap002bg50d\"}' \\\n  https://logs.example.com/api/\n```\n\nAntwort:\n\n```json\n{\"success\":true}\n```\n\n## Alle Logs leeren\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs_clear\"}' \\\n  https://logs.example.com/api/\n```\n\nAntwort:\n\n```json\n{\"success\":true}\n```\n\n## Die Log-Datei herunterladen\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -o logs.nosql https://logs.example.com/api/download/\n```\n\nWas die Datei enthält, steht unter [Logs herunterladen](../../guides/download-logs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0h6ZV60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/reference/read-logs/","project":"openlogger","version":"1-0","section":"reference","language":"es","title":"Leer los registros con la API de administración","summary":"Consulta, borra, vacía y descarga registros desde un script con el token de acceso principal.","markdown":"---\ntitle: \"Leer los registros con la API de administración\"\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/reference/read-logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Leer los registros con la API de administración\n\n> Consulta, borra, vacía y descarga registros desde un script con el token de acceso principal.\n\nLa interfaz de administración lee los registros a través de `POST /api/`. Tus scripts pueden hacer lo mismo con el **token de acceso principal**. Un token de API no funciona aquí.\n\nCada petición envía un cuerpo JSON con un `schema` que indica la acción, seguido de sus argumentos como query string.\n\n## Consultar registros\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs?type=error&fields=app,type,message&limit=1\"}' \\\n  https://logs.example.com/api/\n```\n\nRespuesta:\n\n```json\n{\"items\":[{\"app\":\"Demo shop\",\"type\":\"error\",\"message\":\"Stock check failed for order 1002\"}],\"count\":2,\"page\":1,\"limit\":1,\"pages\":2}\n```\n\n`count` es el número de registros que coinciden y `pages`, el número de páginas.\n\n### Argumentos\n\n| Argumento | Ejemplo | Qué hace |\n|---|---|---|\n| un nombre de campo | `app=shop` | Filtra por `app`, `type`, `schema`, `userid`, `username`, `message`, `url`, `ip`, `ua`, `data` o `id`. Encuentra el texto en cualquier parte del campo y no distingue entre mayúsculas y minúsculas. |\n| `dtcreated` | `dtcreated=2026-11-19` | Filtra por el día en que llegó el registro. Un rango: `dtcreated=2026-11-18 - 2026-11-20`. |\n| `sort` | `sort=app_asc` | Ordena por un campo, `_asc` o `_desc`. El valor predeterminado es `dtcreated_desc`, los más recientes primero. |\n| `fields` | `fields=app,message` | Devuelve solo estos campos. |\n| `page` | `page=2` | La página que se devuelve. |\n| `limit` | `limit=20` | Registros por página, como máximo 100. |\n\nCada elemento contiene `id`, `app`, `type`, `schema`, `userid`, `username`, `ua`, `message`, `url`, `ip`, `dtcreated` y `data`.\n\n## Borrar registros\n\nPasa los ID de los registros, separados por comas:\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs_remove?id=24nap001bg51d,24nap002bg50d\"}' \\\n  https://logs.example.com/api/\n```\n\nRespuesta:\n\n```json\n{\"success\":true}\n```\n\n## Vaciar todos los registros\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs_clear\"}' \\\n  https://logs.example.com/api/\n```\n\nRespuesta:\n\n```json\n{\"success\":true}\n```\n\n## Descargar el archivo de registros\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -o logs.nosql https://logs.example.com/api/download/\n```\n\nConsulta [Descargar los registros](../../guides/download-logs/) para ver qué contiene el archivo.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0h6ZV60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/reference/read-logs/","project":"openlogger","version":"1-0","section":"reference","language":"fr","title":"Lire les logs avec l’API d’administration","summary":"Interroge, supprime, vide et télécharge les logs depuis un script avec le jeton d’accès principal.","markdown":"---\ntitle: \"Lire les logs avec l’API d’administration\"\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/reference/read-logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Lire les logs avec l’API d’administration\n\n> Interroge, supprime, vide et télécharge les logs depuis un script avec le jeton d’accès principal.\n\nL’interface d’administration lit les logs par `POST /api/`. Tes scripts peuvent faire pareil avec le **primary access token** (jeton d’accès principal). Un jeton d’API ne fonctionne pas ici.\n\nChaque requête envoie un corps JSON avec un `schema` qui nomme l’action, suivi de ses arguments sous forme de query string.\n\n## Interroger les logs\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs?type=error&fields=app,type,message&limit=1\"}' \\\n  https://logs.example.com/api/\n```\n\nRéponse :\n\n```json\n{\"items\":[{\"app\":\"Demo shop\",\"type\":\"error\",\"message\":\"Stock check failed for order 1002\"}],\"count\":2,\"page\":1,\"limit\":1,\"pages\":2}\n```\n\n`count` est le nombre de logs correspondants, `pages` le nombre de pages.\n\n### Arguments\n\n| Argument | Exemple | Ce qu’il fait |\n|---|---|---|\n| un nom de champ | `app=shop` | Filtre selon `app`, `type`, `schema`, `userid`, `username`, `message`, `url`, `ip`, `ua`, `data` ou `id`. Trouve le texte n’importe où dans le champ et ignore les majuscules et les minuscules. |\n| `dtcreated` | `dtcreated=2026-11-19` | Filtre selon le jour d’arrivée du log. Une plage : `dtcreated=2026-11-18 - 2026-11-20`. |\n| `sort` | `sort=app_asc` | Trie selon un champ, `_asc` ou `_desc`. Par défaut, c’est `dtcreated_desc`, les plus récents en premier. |\n| `fields` | `fields=app,message` | Ne renvoie que ces champs. |\n| `page` | `page=2` | La page à renvoyer. |\n| `limit` | `limit=20` | Le nombre de logs par page, 100 au maximum. |\n\nChaque élément contient `id`, `app`, `type`, `schema`, `userid`, `username`, `ua`, `message`, `url`, `ip`, `dtcreated` et `data`.\n\n## Supprimer des logs\n\nIndique les ID des logs, séparés par des virgules :\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs_remove?id=24nap001bg51d,24nap002bg50d\"}' \\\n  https://logs.example.com/api/\n```\n\nRéponse :\n\n```json\n{\"success\":true}\n```\n\n## Vider tous les logs\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs_clear\"}' \\\n  https://logs.example.com/api/\n```\n\nRéponse :\n\n```json\n{\"success\":true}\n```\n\n## Télécharger le fichier des logs\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -o logs.nosql https://logs.example.com/api/download/\n```\n\nConsulte [Télécharger les logs](../../guides/download-logs/) pour savoir ce que contient le fichier.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0h6ZV60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/reference/read-logs/","project":"openlogger","version":"1-0","section":"reference","language":"it","title":"Leggere i log con l'API di amministrazione","summary":"Interroga, rimuovi, svuota e scarica i log da uno script con il token di accesso principale.","markdown":"---\ntitle: \"Leggere i log con l'API di amministrazione\"\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/reference/read-logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Leggere i log con l'API di amministrazione\n\n> Interroga, rimuovi, svuota e scarica i log da uno script con il token di accesso principale.\n\nL'interfaccia di amministrazione legge i log tramite `POST /api/`. I tuoi script possono fare lo stesso con il **token di accesso principale**. Un token API qui non funziona.\n\nOgni richiesta invia un corpo JSON con uno `schema` che indica l'azione, seguito dai suoi argomenti come query string.\n\n## Interrogare i log\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs?type=error&fields=app,type,message&limit=1\"}' \\\n  https://logs.example.com/api/\n```\n\nRisposta:\n\n```json\n{\"items\":[{\"app\":\"Demo shop\",\"type\":\"error\",\"message\":\"Stock check failed for order 1002\"}],\"count\":2,\"page\":1,\"limit\":1,\"pages\":2}\n```\n\n`count` è il numero di log corrispondenti, `pages` il numero di pagine.\n\n### Argomenti\n\n| Argomento | Esempio | Cosa fa |\n|---|---|---|\n| un nome di campo | `app=shop` | Filtra per `app`, `type`, `schema`, `userid`, `username`, `message`, `url`, `ip`, `ua`, `data` o `id`. Trova il testo in qualsiasi punto del campo e non distingue tra maiuscole e minuscole. |\n| `dtcreated` | `dtcreated=2026-11-19` | Filtra per il giorno in cui è arrivato il log. Un intervallo: `dtcreated=2026-11-18 - 2026-11-20`. |\n| `sort` | `sort=app_asc` | Ordina per un campo, `_asc` o `_desc`. Il valore predefinito è `dtcreated_desc`, dal più recente. |\n| `fields` | `fields=app,message` | Restituisce solo questi campi. |\n| `page` | `page=2` | La pagina da restituire. |\n| `limit` | `limit=20` | Log per pagina, al massimo 100. |\n\nOgni voce contiene `id`, `app`, `type`, `schema`, `userid`, `username`, `ua`, `message`, `url`, `ip`, `dtcreated` e `data`.\n\n## Rimuovere log\n\nPassa gli ID dei log, separati da virgole:\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs_remove?id=24nap001bg51d,24nap002bg50d\"}' \\\n  https://logs.example.com/api/\n```\n\nRisposta:\n\n```json\n{\"success\":true}\n```\n\n## Svuotare tutti i log\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs_clear\"}' \\\n  https://logs.example.com/api/\n```\n\nRisposta:\n\n```json\n{\"success\":true}\n```\n\n## Scaricare il file dei log\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -o logs.nosql https://logs.example.com/api/download/\n```\n\nLeggi [Scaricare i log](../../guides/download-logs/) per sapere cosa contiene il file.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0h6ZV60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/reference/read-logs/","project":"openlogger","version":"1-0","section":"reference","language":"sk","title":"Čítanie logov cez administračné API","summary":"Vyhľadávaj, odstraňuj, vymazávaj a sťahuj logy zo skriptu s hlavným prístupovým tokenom.","markdown":"---\ntitle: \"Čítanie logov cez administračné API\"\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/reference/read-logs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Čítanie logov cez administračné API\n\n> Vyhľadávaj, odstraňuj, vymazávaj a sťahuj logy zo skriptu s hlavným prístupovým tokenom.\n\nAdministrácia číta logy cez `POST /api/`. Tvoje skripty môžu robiť to isté s **hlavným prístupovým tokenom**. API token tu nefunguje.\n\nKaždá požiadavka posiela telo JSON so `schema`, ktorá určuje akciu, a za ňou jej argumenty ako query string.\n\n## Vyhľadávanie logov\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs?type=error&fields=app,type,message&limit=1\"}' \\\n  https://logs.example.com/api/\n```\n\nOdpoveď:\n\n```json\n{\"items\":[{\"app\":\"Demo shop\",\"type\":\"error\",\"message\":\"Stock check failed for order 1002\"}],\"count\":2,\"page\":1,\"limit\":1,\"pages\":2}\n```\n\n`count` je počet zodpovedajúcich logov, `pages` počet stránok.\n\n### Argumenty\n\n| Argument | Príklad | Čo robí |\n|---|---|---|\n| názov poľa | `app=shop` | Filtruje podľa `app`, `type`, `schema`, `userid`, `username`, `message`, `url`, `ip`, `ua`, `data` alebo `id`. Nájde text kdekoľvek v poli a nerozlišuje veľké a malé písmená. |\n| `dtcreated` | `dtcreated=2026-11-19` | Filtruje podľa dňa, keď log prišiel. Rozsah: `dtcreated=2026-11-18 - 2026-11-20`. |\n| `sort` | `sort=app_asc` | Zoradí podľa poľa, `_asc` alebo `_desc`. Predvolené je `dtcreated_desc`, najnovšie navrchu. |\n| `fields` | `fields=app,message` | Vráti len tieto polia. |\n| `page` | `page=2` | Stránka, ktorá sa má vrátiť. |\n| `limit` | `limit=20` | Logy na stránku, najviac 100. |\n\nKaždá položka obsahuje `id`, `app`, `type`, `schema`, `userid`, `username`, `ua`, `message`, `url`, `ip`, `dtcreated` a `data`.\n\n## Odstránenie logov\n\nZadaj ID logov oddelené čiarkami:\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs_remove?id=24nap001bg51d,24nap002bg50d\"}' \\\n  https://logs.example.com/api/\n```\n\nOdpoveď:\n\n```json\n{\"success\":true}\n```\n\n## Vymazanie všetkých logov\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"schema\":\"logs_clear\"}' \\\n  https://logs.example.com/api/\n```\n\nOdpoveď:\n\n```json\n{\"success\":true}\n```\n\n## Stiahnutie súboru s logmi\n\n```bash\ncurl -H \"x-token: PRIMARY_TOKEN\" -o logs.nosql https://logs.example.com/api/download/\n```\n\nČo súbor obsahuje, nájdeš v [Stiahnutie logov](../../guides/download-logs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0g6XV60f","url":"https://totaljs.es/docs/openlogger/1-0/reference/errors/","project":"openlogger","version":"1-0","section":"reference","language":"en","title":"Errors","summary":"The status codes and messages OpenLogger answers with, and what to do.","markdown":"---\ntitle: Errors\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/reference/errors/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Errors\n\n> The status codes and messages OpenLogger answers with, and what to do.\n\nWhen a request fails, OpenLogger answers with a status code and, in most cases, a JSON array that describes the problem.\n\n## Status codes\n\n| Status | Body | Cause | What to do |\n|---|---|---|---|\n| `400` | `[{\"name\":\"app\",\"error\":\"The field \\\"app\\\" is invalid\",\"path\":\"app\",\"prefix\":\"app\"}]` | `app` is missing or empty, or the body is not valid JSON. | Send `app` and check the `content-type` header. |\n| `401` | An HTML error page | The token is missing or wrong, an API token was used on `/api/`, or your address is blocked. | Check the token. See below. |\n| `404` | An HTML error page | The `schema` in an admin request is unknown. | Check the name, for example `logs`. |\n\nA `200` answer does not mean every value was kept as sent: long values are cut, and unknown types become `info`. See [Send a log](../send-log/).\n\n## Blocked after wrong tokens\n\nAfter six requests with a wrong or missing token, OpenLogger answers `401` to every request from the same IP address, also with a valid token, for up to 15 minutes. This includes the admin interface. Restarting OpenLogger lifts the block.\n\nFix the token in your app, then wait or restart OpenLogger.\n\n## Check a response in your code\n\nA wrong token answers with HTML, not JSON. Read the status code first and parse the body as JSON only when you expect it. See [Send from Node.js](../../recipes/send-from-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0g6XV60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/reference/errors/","project":"openlogger","version":"1-0","section":"reference","language":"de","title":"Fehler","summary":"Die Statuscodes und Meldungen, mit denen OpenLogger antwortet, und was du tun kannst.","markdown":"---\ntitle: Fehler\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/reference/errors/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Fehler\n\n> Die Statuscodes und Meldungen, mit denen OpenLogger antwortet, und was du tun kannst.\n\nWenn eine Anfrage fehlschlägt, antwortet OpenLogger mit einem Statuscode und meistens mit einem JSON-Array, das das Problem beschreibt.\n\n## Statuscodes\n\n| Status | Body | Ursache | Was du tun kannst |\n|---|---|---|---|\n| `400` | `[{\"name\":\"app\",\"error\":\"The field \\\"app\\\" is invalid\",\"path\":\"app\",\"prefix\":\"app\"}]` | `app` fehlt oder ist leer, oder der Body ist kein gültiges JSON. | Schick `app` mit und prüf den Header `content-type`. |\n| `401` | Eine HTML-Fehlerseite | Das Token fehlt oder ist falsch, ein API-Token wurde für `/api/` verwendet, oder deine Adresse ist blockiert. | Prüf das Token. Siehe unten. |\n| `404` | Eine HTML-Fehlerseite | Das `schema` in einer Admin-Anfrage ist unbekannt. | Prüf den Namen, zum Beispiel `logs`. |\n\nEine Antwort `200` heißt nicht, dass jeder Wert so gespeichert wurde, wie er geschickt wurde: Lange Werte werden abgeschnitten, und unbekannte Typen werden zu `info`. Mehr dazu unter [Ein Log senden](../send-log/).\n\n## Blockiert nach falschen Tokens\n\nNach sechs Anfragen mit einem falschen oder fehlenden Token antwortet OpenLogger bis zu 15 Minuten lang auf jede Anfrage von derselben IP-Adresse mit `401`, auch mit einem gültigen Token. Das gilt auch für die Admin-Oberfläche. Ein Neustart von OpenLogger hebt die Blockierung auf.\n\nKorrigiere das Token in deiner App, dann warte oder starte OpenLogger neu.\n\n## Eine Antwort in deinem Code prüfen\n\nEin falsches Token antwortet mit HTML, nicht mit JSON. Lies zuerst den Statuscode und werte den Body nur dann als JSON aus, wenn du JSON erwartest. Mehr dazu unter [Aus Node.js senden](../../recipes/send-from-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0g6XV60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/reference/errors/","project":"openlogger","version":"1-0","section":"reference","language":"es","title":"Errores","summary":"Los códigos de estado y los mensajes con los que responde OpenLogger, y qué hacer.","markdown":"---\ntitle: Errores\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/reference/errors/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Errores\n\n> Los códigos de estado y los mensajes con los que responde OpenLogger, y qué hacer.\n\nCuando una petición falla, OpenLogger responde con un código de estado y, en la mayoría de los casos, un array JSON que describe el problema.\n\n## Códigos de estado\n\n| Estado | Cuerpo | Causa | Qué hacer |\n|---|---|---|---|\n| `400` | `[{\"name\":\"app\",\"error\":\"The field \\\"app\\\" is invalid\",\"path\":\"app\",\"prefix\":\"app\"}]` | Falta `app` o está vacío, o el cuerpo no es JSON válido. | Envía `app` y revisa la cabecera `content-type`. |\n| `401` | Una página de error HTML | Falta el token o es incorrecto, se ha usado un token de API en `/api/`, o tu dirección está bloqueada. | Revisa el token. Mira más abajo. |\n| `404` | Una página de error HTML | El `schema` de una petición de administración no existe. | Revisa el nombre, por ejemplo `logs`. |\n\nUna respuesta `200` no significa que todos los valores se hayan guardado tal como se enviaron: los valores largos se cortan y los tipos desconocidos pasan a ser `info`. Consulta [Enviar un registro](../send-log/).\n\n## Bloqueo tras tokens incorrectos\n\nDespués de seis peticiones con un token incorrecto o sin token, OpenLogger responde `401` a todas las peticiones de la misma dirección IP, incluso con un token válido, durante un máximo de 15 minutos. Esto incluye la interfaz de administración. Reiniciar OpenLogger levanta el bloqueo.\n\nCorrige el token en tu app y luego espera o reinicia OpenLogger.\n\n## Comprobar una respuesta en tu código\n\nUn token incorrecto responde con HTML, no con JSON. Lee primero el código de estado y analiza el cuerpo como JSON solo cuando lo esperes. Consulta [Enviar desde Node.js](../../recipes/send-from-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0g6XV60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/reference/errors/","project":"openlogger","version":"1-0","section":"reference","language":"fr","title":"Erreurs","summary":"Les codes d’état et les messages qu’OpenLogger renvoie, et ce qu’il faut faire.","markdown":"---\ntitle: Erreurs\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/reference/errors/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Erreurs\n\n> Les codes d’état et les messages qu’OpenLogger renvoie, et ce qu’il faut faire.\n\nQuand une requête échoue, OpenLogger répond avec un code d’état et, la plupart du temps, un tableau JSON qui décrit le problème.\n\n## Codes d’état\n\n| État | Corps | Cause | Que faire |\n|---|---|---|---|\n| `400` | `[{\"name\":\"app\",\"error\":\"The field \\\"app\\\" is invalid\",\"path\":\"app\",\"prefix\":\"app\"}]` | `app` manque ou est vide, ou le corps n’est pas du JSON valide. | Envoie `app` et vérifie l’en-tête `content-type`. |\n| `401` | Une page d’erreur HTML | Le jeton manque ou est faux, un jeton d’API a été utilisé sur `/api/`, ou ton adresse est bloquée. | Vérifie le jeton. Voir plus bas. |\n| `404` | Une page d’erreur HTML | Le `schema` d’une requête d’administration est inconnu. | Vérifie le nom, par exemple `logs`. |\n\nUne réponse `200` ne veut pas dire que chaque valeur a été gardée telle qu’envoyée : les valeurs longues sont coupées, et les types inconnus deviennent `info`. Consulte [Envoyer un log](../send-log/).\n\n## Bloqué après de mauvais jetons\n\nAprès six requêtes avec un jeton faux ou manquant, OpenLogger répond `401` à toutes les requêtes venant de la même adresse IP, même avec un jeton valide, pendant 15 minutes au maximum. Ça inclut l’interface d’administration. Redémarrer OpenLogger lève le blocage.\n\nCorrige le jeton dans ton application, puis attends ou redémarre OpenLogger.\n\n## Vérifier une réponse dans ton code\n\nUn mauvais jeton répond en HTML, pas en JSON. Lis d’abord le code d’état et n’analyse le corps en JSON que si tu t’y attends. Consulte [Envoyer depuis Node.js](../../recipes/send-from-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0g6XV60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/reference/errors/","project":"openlogger","version":"1-0","section":"reference","language":"it","title":"Errori","summary":"I codici di stato e i messaggi con cui risponde OpenLogger, e cosa fare.","markdown":"---\ntitle: Errori\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/reference/errors/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Errori\n\n> I codici di stato e i messaggi con cui risponde OpenLogger, e cosa fare.\n\nQuando una richiesta fallisce, OpenLogger risponde con un codice di stato e, nella maggior parte dei casi, con un array JSON che descrive il problema.\n\n## Codici di stato\n\n| Stato | Corpo | Causa | Cosa fare |\n|---|---|---|---|\n| `400` | `[{\"name\":\"app\",\"error\":\"The field \\\"app\\\" is invalid\",\"path\":\"app\",\"prefix\":\"app\"}]` | `app` manca o è vuoto, oppure il corpo non è JSON valido. | Invia `app` e controlla l'header `content-type`. |\n| `401` | Una pagina di errore HTML | Il token manca o è sbagliato, è stato usato un token API su `/api/`, oppure il tuo indirizzo è bloccato. | Controlla il token. Leggi più sotto. |\n| `404` | Una pagina di errore HTML | Lo `schema` in una richiesta di amministrazione è sconosciuto. | Controlla il nome, per esempio `logs`. |\n\nUna risposta `200` non significa che ogni valore sia stato salvato come inviato: i valori lunghi vengono tagliati e i tipi sconosciuti diventano `info`. Leggi [Inviare un log](../send-log/).\n\n## Bloccato dopo token sbagliati\n\nDopo sei richieste con un token sbagliato o mancante, OpenLogger risponde `401` a ogni richiesta dallo stesso indirizzo IP, anche con un token valido, per un massimo di 15 minuti. Questo vale anche per l'interfaccia di amministrazione. Riavviare OpenLogger toglie il blocco.\n\nCorreggi il token nella tua app, poi aspetta o riavvia OpenLogger.\n\n## Controllare una risposta nel tuo codice\n\nUn token sbagliato risponde con HTML, non con JSON. Leggi prima il codice di stato e interpreta il corpo come JSON solo quando te lo aspetti. Leggi [Inviare da Node.js](../../recipes/send-from-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0g6XV60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/reference/errors/","project":"openlogger","version":"1-0","section":"reference","language":"sk","title":"Chyby","summary":"Stavové kódy a správy, ktorými OpenLogger odpovedá, a čo s nimi robiť.","markdown":"---\ntitle: Chyby\nproject: OpenLogger\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/reference/errors/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Chyby\n\n> Stavové kódy a správy, ktorými OpenLogger odpovedá, a čo s nimi robiť.\n\nKeď požiadavka zlyhá, OpenLogger odpovie stavovým kódom a vo väčšine prípadov poľom JSON, ktoré popisuje problém.\n\n## Stavové kódy\n\n| Stav | Telo | Príčina | Čo robiť |\n|---|---|---|---|\n| `400` | `[{\"name\":\"app\",\"error\":\"The field \\\"app\\\" is invalid\",\"path\":\"app\",\"prefix\":\"app\"}]` | `app` chýba alebo je prázdne, alebo telo nie je platný JSON. | Pošli `app` a skontroluj hlavičku `content-type`. |\n| `401` | Chybová stránka HTML | Token chýba alebo je nesprávny, na `/api/` bol použitý API token, alebo je tvoja adresa zablokovaná. | Skontroluj token. Pozri nižšie. |\n| `404` | Chybová stránka HTML | `schema` v administračnej požiadavke je neznáma. | Skontroluj názov, napríklad `logs`. |\n\nOdpoveď `200` neznamená, že sa každá hodnota uložila tak, ako bola poslaná: dlhé hodnoty sa odrežú a neznáme typy sa zmenia na `info`. Pozri si [Poslanie logu](../send-log/).\n\n## Zablokovanie po nesprávnych tokenoch\n\nPo šiestich požiadavkách s nesprávnym alebo chýbajúcim tokenom OpenLogger odpovedá `401` na každú požiadavku z tej istej IP adresy, aj s platným tokenom, až 15 minút. Týka sa to aj administrácie. Reštart OpenLogger blokovanie zruší.\n\nOprav token vo svojej aplikácii, potom počkaj alebo OpenLogger reštartuj.\n\n## Kontrola odpovede v kóde\n\nPri nesprávnom tokene príde odpoveď v HTML, nie v JSON. Najprv si prečítaj stavový kód a telo spracuj ako JSON len vtedy, keď ho očakávaš. Pozri si [Posielanie z Node.js](../../recipes/send-from-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0c6TV60f","url":"https://totaljs.es/docs/openlogger/1-0/recipes/send-from-nodejs/","project":"openlogger","version":"1-0","section":"recipes","language":"en","title":"Send from Node.js","summary":"A small Node.js function that sends a log to OpenLogger and reports errors.","markdown":"---\ntitle: Send from Node.js\nproject: OpenLogger\nversion: 1.0\nsection: recipes\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/recipes/send-from-nodejs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Send from Node.js\n\n> A small Node.js function that sends a log to OpenLogger and reports errors.\n\nThis recipe sends logs from a Node.js app with the built-in `fetch`. It needs no extra package. It turns `data` into a JSON string for you.\n\n## The code\n\nSave it as `send.mjs`:\n\n```javascript\n// send.mjs: sends logs to OpenLogger.\nconst OPENLOGGER = process.env.OPENLOGGER_URL;\nconst TOKEN = process.env.OPENLOGGER_TOKEN;\n\nasync function log(entry) {\n\tconst body = { app: 'Demo project', ...entry };\n\tif (body.data && typeof body.data !== 'string')\n\t\tbody.data = JSON.stringify(body.data);\n\tconst response = await fetch(OPENLOGGER + '/', {\n\t\tmethod: 'POST',\n\t\theaders: { 'content-type': 'application/json', 'x-token': TOKEN },\n\t\tbody: JSON.stringify(body),\n\t\tsignal: AbortSignal.timeout(10000)\n\t});\n\tconst text = await response.text();\n\tif (!response.ok)\n\t\tthrow new Error(response.status + ' ' + text.substring(0, 200));\n\treturn JSON.parse(text);\n}\n\nconsole.log(await log({ type: 'error', message: 'Payment failed', userid: 'u100', username: 'Jane Doe', data: { order: 1003, reason: 'card declined' } }));\n\ntry {\n\tawait log({ app: '', message: 'No app name' });\n} catch (e) {\n\tconsole.log(e.message);\n}\n```\n\n## Run it\n\n```bash\nOPENLOGGER_URL=https://logs.example.com OPENLOGGER_TOKEN=YOUR_TOKEN node send.mjs\n```\n\nThe output:\n\n```text\n{ success: true }\n400 [{\"name\":\"app\",\"error\":\"The field \\\"app\\\" is invalid\",\"path\":\"app\",\"prefix\":\"app\"}]\n```\n\nThe first log is stored with its data; the second call fails because `app` is empty.\n\n## Notes\n\n- The body is read as text first, because a wrong token answers `401` with an HTML page. See [Errors](../../reference/errors/).\n- The timeout stops the request after 10 seconds, so a slow log server does not hold up your app.\n- Keep the token on the server. Never put it in code that runs in the browser.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0c6TV60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/recipes/send-from-nodejs/","project":"openlogger","version":"1-0","section":"recipes","language":"de","title":"Aus Node.js senden","summary":"Eine kleine Node.js-Funktion, die ein Log an OpenLogger sendet und Fehler meldet.","markdown":"---\ntitle: Aus Node.js senden\nproject: OpenLogger\nversion: 1.0\nsection: recipes\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/recipes/send-from-nodejs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Aus Node.js senden\n\n> Eine kleine Node.js-Funktion, die ein Log an OpenLogger sendet und Fehler meldet.\n\nDieses Rezept sendet Logs aus einer Node.js-App mit dem eingebauten `fetch`. Es braucht kein zusätzliches Paket. Es wandelt `data` für dich in einen JSON-String um.\n\n## Der Code\n\nSpeichere ihn als `send.mjs`:\n\n```javascript\n// send.mjs: sends logs to OpenLogger.\nconst OPENLOGGER = process.env.OPENLOGGER_URL;\nconst TOKEN = process.env.OPENLOGGER_TOKEN;\n\nasync function log(entry) {\n\tconst body = { app: 'Demo project', ...entry };\n\tif (body.data && typeof body.data !== 'string')\n\t\tbody.data = JSON.stringify(body.data);\n\tconst response = await fetch(OPENLOGGER + '/', {\n\t\tmethod: 'POST',\n\t\theaders: { 'content-type': 'application/json', 'x-token': TOKEN },\n\t\tbody: JSON.stringify(body),\n\t\tsignal: AbortSignal.timeout(10000)\n\t});\n\tconst text = await response.text();\n\tif (!response.ok)\n\t\tthrow new Error(response.status + ' ' + text.substring(0, 200));\n\treturn JSON.parse(text);\n}\n\nconsole.log(await log({ type: 'error', message: 'Payment failed', userid: 'u100', username: 'Jane Doe', data: { order: 1003, reason: 'card declined' } }));\n\ntry {\n\tawait log({ app: '', message: 'No app name' });\n} catch (e) {\n\tconsole.log(e.message);\n}\n```\n\n## Ausführen\n\n```bash\nOPENLOGGER_URL=https://logs.example.com OPENLOGGER_TOKEN=YOUR_TOKEN node send.mjs\n```\n\nDie Ausgabe:\n\n```text\n{ success: true }\n400 [{\"name\":\"app\",\"error\":\"The field \\\"app\\\" is invalid\",\"path\":\"app\",\"prefix\":\"app\"}]\n```\n\nDas erste Log wird mit seinen Daten gespeichert; der zweite Aufruf schlägt fehl, weil `app` leer ist.\n\n## Hinweise\n\n- Der Body wird zuerst als Text gelesen, weil ein falsches Token mit `401` und einer HTML-Seite antwortet. Mehr dazu unter [Fehler](../../reference/errors/).\n- Das Timeout bricht die Anfrage nach 10 Sekunden ab, damit ein langsamer Log-Server deine App nicht aufhält.\n- Behalte das Token auf dem Server. Pack es nie in Code, der im Browser läuft.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0c6TV60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/recipes/send-from-nodejs/","project":"openlogger","version":"1-0","section":"recipes","language":"es","title":"Enviar desde Node.js","summary":"Una pequeña función de Node.js que envía un registro a OpenLogger e informa de los errores.","markdown":"---\ntitle: Enviar desde Node.js\nproject: OpenLogger\nversion: 1.0\nsection: recipes\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/recipes/send-from-nodejs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Enviar desde Node.js\n\n> Una pequeña función de Node.js que envía un registro a OpenLogger e informa de los errores.\n\nEsta receta envía registros desde una app de Node.js con el `fetch` integrado. No necesita ningún paquete extra. Convierte `data` en una cadena JSON por ti.\n\n## El código\n\nGuárdalo como `send.mjs`:\n\n```javascript\n// send.mjs: sends logs to OpenLogger.\nconst OPENLOGGER = process.env.OPENLOGGER_URL;\nconst TOKEN = process.env.OPENLOGGER_TOKEN;\n\nasync function log(entry) {\n\tconst body = { app: 'Demo project', ...entry };\n\tif (body.data && typeof body.data !== 'string')\n\t\tbody.data = JSON.stringify(body.data);\n\tconst response = await fetch(OPENLOGGER + '/', {\n\t\tmethod: 'POST',\n\t\theaders: { 'content-type': 'application/json', 'x-token': TOKEN },\n\t\tbody: JSON.stringify(body),\n\t\tsignal: AbortSignal.timeout(10000)\n\t});\n\tconst text = await response.text();\n\tif (!response.ok)\n\t\tthrow new Error(response.status + ' ' + text.substring(0, 200));\n\treturn JSON.parse(text);\n}\n\nconsole.log(await log({ type: 'error', message: 'Payment failed', userid: 'u100', username: 'Jane Doe', data: { order: 1003, reason: 'card declined' } }));\n\ntry {\n\tawait log({ app: '', message: 'No app name' });\n} catch (e) {\n\tconsole.log(e.message);\n}\n```\n\n## Ejecutarlo\n\n```bash\nOPENLOGGER_URL=https://logs.example.com OPENLOGGER_TOKEN=YOUR_TOKEN node send.mjs\n```\n\nLa salida:\n\n```text\n{ success: true }\n400 [{\"name\":\"app\",\"error\":\"The field \\\"app\\\" is invalid\",\"path\":\"app\",\"prefix\":\"app\"}]\n```\n\nEl primer registro se guarda con sus datos; la segunda llamada falla porque `app` está vacío.\n\n## Notas\n\n- El cuerpo se lee primero como texto, porque un token incorrecto responde `401` con una página HTML. Consulta [Errores](../../reference/errors/).\n- El tiempo de espera corta la petición a los 10 segundos, para que un servidor de registros lento no frene tu app.\n- Guarda el token en el servidor. Nunca lo pongas en código que se ejecuta en el navegador.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0c6TV60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/recipes/send-from-nodejs/","project":"openlogger","version":"1-0","section":"recipes","language":"fr","title":"Envoyer depuis Node.js","summary":"Une petite fonction Node.js qui envoie un log à OpenLogger et signale les erreurs.","markdown":"---\ntitle: Envoyer depuis Node.js\nproject: OpenLogger\nversion: 1.0\nsection: recipes\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/recipes/send-from-nodejs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Envoyer depuis Node.js\n\n> Une petite fonction Node.js qui envoie un log à OpenLogger et signale les erreurs.\n\nCette recette envoie des logs depuis une application Node.js avec le `fetch` intégré. Elle n’a besoin d’aucun paquet en plus. Elle transforme `data` en chaîne JSON pour toi.\n\n## Le code\n\nEnregistre-le sous le nom `send.mjs` :\n\n```javascript\n// send.mjs: sends logs to OpenLogger.\nconst OPENLOGGER = process.env.OPENLOGGER_URL;\nconst TOKEN = process.env.OPENLOGGER_TOKEN;\n\nasync function log(entry) {\n\tconst body = { app: 'Demo project', ...entry };\n\tif (body.data && typeof body.data !== 'string')\n\t\tbody.data = JSON.stringify(body.data);\n\tconst response = await fetch(OPENLOGGER + '/', {\n\t\tmethod: 'POST',\n\t\theaders: { 'content-type': 'application/json', 'x-token': TOKEN },\n\t\tbody: JSON.stringify(body),\n\t\tsignal: AbortSignal.timeout(10000)\n\t});\n\tconst text = await response.text();\n\tif (!response.ok)\n\t\tthrow new Error(response.status + ' ' + text.substring(0, 200));\n\treturn JSON.parse(text);\n}\n\nconsole.log(await log({ type: 'error', message: 'Payment failed', userid: 'u100', username: 'Jane Doe', data: { order: 1003, reason: 'card declined' } }));\n\ntry {\n\tawait log({ app: '', message: 'No app name' });\n} catch (e) {\n\tconsole.log(e.message);\n}\n```\n\n## Le lancer\n\n```bash\nOPENLOGGER_URL=https://logs.example.com OPENLOGGER_TOKEN=YOUR_TOKEN node send.mjs\n```\n\nLa sortie :\n\n```text\n{ success: true }\n400 [{\"name\":\"app\",\"error\":\"The field \\\"app\\\" is invalid\",\"path\":\"app\",\"prefix\":\"app\"}]\n```\n\nLe premier log est enregistré avec ses données ; le second appel échoue parce que `app` est vide.\n\n## Remarques\n\n- Le corps est d’abord lu comme du texte, parce qu’un mauvais jeton répond `401` avec une page HTML. Consulte [Erreurs](../../reference/errors/).\n- Le délai d’attente arrête la requête après 10 secondes, pour qu’un serveur de logs lent ne bloque pas ton application.\n- Garde le jeton sur le serveur. Ne le mets jamais dans du code qui tourne dans le navigateur.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0c6TV60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/recipes/send-from-nodejs/","project":"openlogger","version":"1-0","section":"recipes","language":"it","title":"Inviare da Node.js","summary":"Una piccola funzione Node.js che invia un log a OpenLogger e segnala gli errori.","markdown":"---\ntitle: Inviare da Node.js\nproject: OpenLogger\nversion: 1.0\nsection: recipes\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/recipes/send-from-nodejs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Inviare da Node.js\n\n> Una piccola funzione Node.js che invia un log a OpenLogger e segnala gli errori.\n\nQuesta ricetta invia log da un'app Node.js con il `fetch` integrato. Non ha bisogno di pacchetti aggiuntivi. Trasforma `data` in una stringa JSON al posto tuo.\n\n## Il codice\n\nSalvalo come `send.mjs`:\n\n```javascript\n// send.mjs: sends logs to OpenLogger.\nconst OPENLOGGER = process.env.OPENLOGGER_URL;\nconst TOKEN = process.env.OPENLOGGER_TOKEN;\n\nasync function log(entry) {\n\tconst body = { app: 'Demo project', ...entry };\n\tif (body.data && typeof body.data !== 'string')\n\t\tbody.data = JSON.stringify(body.data);\n\tconst response = await fetch(OPENLOGGER + '/', {\n\t\tmethod: 'POST',\n\t\theaders: { 'content-type': 'application/json', 'x-token': TOKEN },\n\t\tbody: JSON.stringify(body),\n\t\tsignal: AbortSignal.timeout(10000)\n\t});\n\tconst text = await response.text();\n\tif (!response.ok)\n\t\tthrow new Error(response.status + ' ' + text.substring(0, 200));\n\treturn JSON.parse(text);\n}\n\nconsole.log(await log({ type: 'error', message: 'Payment failed', userid: 'u100', username: 'Jane Doe', data: { order: 1003, reason: 'card declined' } }));\n\ntry {\n\tawait log({ app: '', message: 'No app name' });\n} catch (e) {\n\tconsole.log(e.message);\n}\n```\n\n## Eseguirlo\n\n```bash\nOPENLOGGER_URL=https://logs.example.com OPENLOGGER_TOKEN=YOUR_TOKEN node send.mjs\n```\n\nL'output:\n\n```text\n{ success: true }\n400 [{\"name\":\"app\",\"error\":\"The field \\\"app\\\" is invalid\",\"path\":\"app\",\"prefix\":\"app\"}]\n```\n\nIl primo log viene salvato con i suoi dati; la seconda chiamata fallisce perché `app` è vuoto.\n\n## Note\n\n- Il corpo viene letto prima come testo, perché un token sbagliato risponde `401` con una pagina HTML. Leggi [Errori](../../reference/errors/).\n- Il timeout ferma la richiesta dopo 10 secondi, così un server di log lento non blocca la tua app.\n- Tieni il token sul server. Non metterlo mai in codice che gira nel browser.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0c6TV60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/recipes/send-from-nodejs/","project":"openlogger","version":"1-0","section":"recipes","language":"sk","title":"Posielanie z Node.js","summary":"Malá funkcia v Node.js, ktorá pošle log do OpenLogger a nahlási chyby.","markdown":"---\ntitle: Posielanie z Node.js\nproject: OpenLogger\nversion: 1.0\nsection: recipes\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/recipes/send-from-nodejs/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Posielanie z Node.js\n\n> Malá funkcia v Node.js, ktorá pošle log do OpenLogger a nahlási chyby.\n\nTento návod posiela logy z aplikácie Node.js pomocou vstavaného `fetch`. Nepotrebuje žiadny ďalší balík. `data` za teba premení na reťazec JSON.\n\n## Kód\n\nUlož ho ako `send.mjs`:\n\n```javascript\n// send.mjs: sends logs to OpenLogger.\nconst OPENLOGGER = process.env.OPENLOGGER_URL;\nconst TOKEN = process.env.OPENLOGGER_TOKEN;\n\nasync function log(entry) {\n\tconst body = { app: 'Demo project', ...entry };\n\tif (body.data && typeof body.data !== 'string')\n\t\tbody.data = JSON.stringify(body.data);\n\tconst response = await fetch(OPENLOGGER + '/', {\n\t\tmethod: 'POST',\n\t\theaders: { 'content-type': 'application/json', 'x-token': TOKEN },\n\t\tbody: JSON.stringify(body),\n\t\tsignal: AbortSignal.timeout(10000)\n\t});\n\tconst text = await response.text();\n\tif (!response.ok)\n\t\tthrow new Error(response.status + ' ' + text.substring(0, 200));\n\treturn JSON.parse(text);\n}\n\nconsole.log(await log({ type: 'error', message: 'Payment failed', userid: 'u100', username: 'Jane Doe', data: { order: 1003, reason: 'card declined' } }));\n\ntry {\n\tawait log({ app: '', message: 'No app name' });\n} catch (e) {\n\tconsole.log(e.message);\n}\n```\n\n## Spustenie\n\n```bash\nOPENLOGGER_URL=https://logs.example.com OPENLOGGER_TOKEN=YOUR_TOKEN node send.mjs\n```\n\nVýstup:\n\n```text\n{ success: true }\n400 [{\"name\":\"app\",\"error\":\"The field \\\"app\\\" is invalid\",\"path\":\"app\",\"prefix\":\"app\"}]\n```\n\nPrvý log sa uloží aj s dátami; druhé volanie zlyhá, pretože `app` je prázdne.\n\n## Poznámky\n\n- Telo sa najprv číta ako text, pretože pri nesprávnom tokene príde odpoveď `401` so stránkou HTML. Pozri si [Chyby](../../reference/errors/).\n- Časový limit zastaví požiadavku po 10 sekundách, takže pomalý server na logy nezdrží tvoju aplikáciu.\n- Token nechaj na serveri. Nikdy ho nedávaj do kódu, ktorý beží v prehliadači.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0e6VV60f","url":"https://totaljs.es/docs/openlogger/1-0/recipes/totaljs-audit/","project":"openlogger","version":"1-0","section":"recipes","language":"en","title":"Total.js audit logs","summary":"Send the audit logs of a Total.js 4 app to OpenLogger with $.audit().","markdown":"---\ntitle: Total.js audit logs\nproject: OpenLogger\nversion: 1.0\nsection: recipes\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/recipes/totaljs-audit/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Total.js audit logs\n\n> Send the audit logs of a Total.js 4 app to OpenLogger with $.audit().\n\nA Total.js 4 app writes audit logs with `$.audit()`. With one definition file, these logs go to OpenLogger instead of a local file.\n\n## Set it up\n\n**1.** In OpenLogger, create an [API token](../../guides/api-tokens/) for the app and copy its address with **Copy URL address**.\n\n**2.** Add the address to the `config` file of your Total.js app:\n\n```text\nname       : Demo project\nopenlogger : https://logs.example.com/?token=YOUR_TOKEN\n```\n\n**3.** Create the file `definitions/logger.js`:\n\n```javascript\nDEF.onAudit = function(name, data) {\n\tdata.app = CONF.name;\n\tdata.sessionid = data.thread = undefined;\n\tRESTBuilder.POST(CONF.openlogger, data).keepalive().callback(ERROR('OpenLogger'));\n};\n```\n\nThe app name in OpenLogger is the `name` from the config file.\n\n## Write audit logs\n\nCall `$.audit()` in a schema action, with a message and, optionally, a type (`info`, `warning`, `error` or `success`):\n\n```javascript\nNEWSCHEMA('Orders', function(schema) {\n\n\tschema.define('product', String, true);\n\tschema.define('quantity', Number);\n\n\tschema.action('create', {\n\t\tname: 'Create an order',\n\t\taction: function($, model) {\n\t\t\t// ... save the order ...\n\t\t\t$.audit('Order created: ' + model.product);\n\t\t\t$.success();\n\t\t}\n\t});\n\n});\n```\n\n## What arrives in OpenLogger\n\nRunning this action with the product `Demo product` stores this log:\n\n| Field | Value |\n|---|---|\n| **App** | `Demo project` |\n| **Type** | `info` |\n| **Schema** | `Orders.create` |\n| **Message** | `Order created: Demo product` |\n| `data` | `{\"params\":{},\"query\":{},\"model\":{\"product\":\"Demo product\",\"quantity\":2}}` |\n\n`data` holds the arguments and the model of the action.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0e6VV60f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/recipes/totaljs-audit/","project":"openlogger","version":"1-0","section":"recipes","language":"de","title":"Audit-Logs von Total.js","summary":"Schick die Audit-Logs einer Total.js-4-App mit $.audit() an OpenLogger.","markdown":"---\ntitle: Audit-Logs von Total.js\nproject: OpenLogger\nversion: 1.0\nsection: recipes\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/recipes/totaljs-audit/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Audit-Logs von Total.js\n\n> Schick die Audit-Logs einer Total.js-4-App mit $.audit() an OpenLogger.\n\nEine Total.js-4-App schreibt Audit-Logs mit `$.audit()`. Mit einer einzigen Definitionsdatei gehen diese Logs an OpenLogger statt in eine lokale Datei.\n\n## Einrichten\n\n**1.** Erstell in OpenLogger ein [API-Token](../../guides/api-tokens/) für die App und kopiere seine Adresse mit **Copy URL address**.\n\n**2.** Füge die Adresse in die Datei `config` deiner Total.js-App ein:\n\n```text\nname       : Demo project\nopenlogger : https://logs.example.com/?token=YOUR_TOKEN\n```\n\n**3.** Erstell die Datei `definitions/logger.js`:\n\n```javascript\nDEF.onAudit = function(name, data) {\n\tdata.app = CONF.name;\n\tdata.sessionid = data.thread = undefined;\n\tRESTBuilder.POST(CONF.openlogger, data).keepalive().callback(ERROR('OpenLogger'));\n};\n```\n\nDer App-Name in OpenLogger ist der `name` aus der Config-Datei.\n\n## Audit-Logs schreiben\n\nRuf `$.audit()` in einer Schema-Aktion auf, mit einer Nachricht und optional einem Typ (`info`, `warning`, `error` oder `success`):\n\n```javascript\nNEWSCHEMA('Orders', function(schema) {\n\n\tschema.define('product', String, true);\n\tschema.define('quantity', Number);\n\n\tschema.action('create', {\n\t\tname: 'Create an order',\n\t\taction: function($, model) {\n\t\t\t// ... save the order ...\n\t\t\t$.audit('Order created: ' + model.product);\n\t\t\t$.success();\n\t\t}\n\t});\n\n});\n```\n\n## Was in OpenLogger ankommt\n\nWenn du diese Aktion mit dem Produkt `Demo product` ausführst, wird dieses Log gespeichert:\n\n| Feld | Wert |\n|---|---|\n| **App** | `Demo project` |\n| **Type** | `info` |\n| **Schema** | `Orders.create` |\n| **Message** | `Order created: Demo product` |\n| `data` | `{\"params\":{},\"query\":{},\"model\":{\"product\":\"Demo product\",\"quantity\":2}}` |\n\n`data` enthält die Argumente und das Modell der Aktion.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0e6VV60f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/recipes/totaljs-audit/","project":"openlogger","version":"1-0","section":"recipes","language":"es","title":"Registros de auditoría de Total.js","summary":"Envía los registros de auditoría de una app Total.js 4 a OpenLogger con $.audit().","markdown":"---\ntitle: \"Registros de auditoría de Total.js\"\nproject: OpenLogger\nversion: 1.0\nsection: recipes\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/recipes/totaljs-audit/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Registros de auditoría de Total.js\n\n> Envía los registros de auditoría de una app Total.js 4 a OpenLogger con $.audit().\n\nUna app Total.js 4 escribe registros de auditoría con `$.audit()`. Con un solo archivo de definición, estos registros van a OpenLogger en lugar de a un archivo local.\n\n## Configurarlo\n\n**1.** En OpenLogger, crea un [token de API](../../guides/api-tokens/) para la app y copia su dirección con **Copy URL address**.\n\n**2.** Añade la dirección al archivo `config` de tu app Total.js:\n\n```text\nname       : Demo project\nopenlogger : https://logs.example.com/?token=YOUR_TOKEN\n```\n\n**3.** Crea el archivo `definitions/logger.js`:\n\n```javascript\nDEF.onAudit = function(name, data) {\n\tdata.app = CONF.name;\n\tdata.sessionid = data.thread = undefined;\n\tRESTBuilder.POST(CONF.openlogger, data).keepalive().callback(ERROR('OpenLogger'));\n};\n```\n\nEl nombre de la app en OpenLogger es el `name` del archivo de configuración.\n\n## Escribir registros de auditoría\n\nLlama a `$.audit()` en una acción de un esquema, con un mensaje y, si quieres, un tipo (`info`, `warning`, `error` o `success`):\n\n```javascript\nNEWSCHEMA('Orders', function(schema) {\n\n\tschema.define('product', String, true);\n\tschema.define('quantity', Number);\n\n\tschema.action('create', {\n\t\tname: 'Create an order',\n\t\taction: function($, model) {\n\t\t\t// ... save the order ...\n\t\t\t$.audit('Order created: ' + model.product);\n\t\t\t$.success();\n\t\t}\n\t});\n\n});\n```\n\n## Qué llega a OpenLogger\n\nEjecutar esta acción con el producto `Demo product` guarda este registro:\n\n| Campo | Valor |\n|---|---|\n| **App** | `Demo project` |\n| **Type** | `info` |\n| **Schema** | `Orders.create` |\n| **Message** | `Order created: Demo product` |\n| `data` | `{\"params\":{},\"query\":{},\"model\":{\"product\":\"Demo product\",\"quantity\":2}}` |\n\n`data` contiene los argumentos y el modelo de la acción.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0e6VV60f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/recipes/totaljs-audit/","project":"openlogger","version":"1-0","section":"recipes","language":"fr","title":"Logs d’audit de Total.js","summary":"Envoie les logs d’audit d’une application Total.js 4 à OpenLogger avec $.audit().","markdown":"---\ntitle: \"Logs d’audit de Total.js\"\nproject: OpenLogger\nversion: 1.0\nsection: recipes\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/recipes/totaljs-audit/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Logs d’audit de Total.js\n\n> Envoie les logs d’audit d’une application Total.js 4 à OpenLogger avec $.audit().\n\nUne application Total.js 4 écrit des logs d’audit avec `$.audit()`. Avec un seul fichier de définition, ces logs vont à OpenLogger au lieu d’un fichier local.\n\n## Le mettre en place\n\n**1.** Dans OpenLogger, crée un [jeton d’API](../../guides/api-tokens/) pour l’application et copie son adresse avec **Copy URL address**.\n\n**2.** Ajoute l’adresse au fichier `config` de ton application Total.js :\n\n```text\nname       : Demo project\nopenlogger : https://logs.example.com/?token=YOUR_TOKEN\n```\n\n**3.** Crée le fichier `definitions/logger.js` :\n\n```javascript\nDEF.onAudit = function(name, data) {\n\tdata.app = CONF.name;\n\tdata.sessionid = data.thread = undefined;\n\tRESTBuilder.POST(CONF.openlogger, data).keepalive().callback(ERROR('OpenLogger'));\n};\n```\n\nLe nom de l’application dans OpenLogger est le `name` du fichier config.\n\n## Écrire des logs d’audit\n\nAppelle `$.audit()` dans une action de schéma, avec un message et, si tu veux, un type (`info`, `warning`, `error` ou `success`) :\n\n```javascript\nNEWSCHEMA('Orders', function(schema) {\n\n\tschema.define('product', String, true);\n\tschema.define('quantity', Number);\n\n\tschema.action('create', {\n\t\tname: 'Create an order',\n\t\taction: function($, model) {\n\t\t\t// ... save the order ...\n\t\t\t$.audit('Order created: ' + model.product);\n\t\t\t$.success();\n\t\t}\n\t});\n\n});\n```\n\n## Ce qui arrive dans OpenLogger\n\nLancer cette action avec le produit `Demo product` enregistre ce log :\n\n| Champ | Valeur |\n|---|---|\n| **App** | `Demo project` |\n| **Type** | `info` |\n| **Schema** | `Orders.create` |\n| **Message** | `Order created: Demo product` |\n| `data` | `{\"params\":{},\"query\":{},\"model\":{\"product\":\"Demo product\",\"quantity\":2}}` |\n\n`data` contient les arguments et le modèle de l’action.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0e6VV60f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/recipes/totaljs-audit/","project":"openlogger","version":"1-0","section":"recipes","language":"it","title":"Log di audit di Total.js","summary":"Invia a OpenLogger i log di audit di un'app Total.js 4 con $.audit().","markdown":"---\ntitle: Log di audit di Total.js\nproject: OpenLogger\nversion: 1.0\nsection: recipes\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/recipes/totaljs-audit/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Log di audit di Total.js\n\n> Invia a OpenLogger i log di audit di un'app Total.js 4 con $.audit().\n\nUn'app Total.js 4 scrive i log di audit con `$.audit()`. Con un solo file di definizione, questi log vanno a OpenLogger invece che in un file locale.\n\n## Configurarlo\n\n**1.** In OpenLogger, crea un [token API](../../guides/api-tokens/) per l'app e copia il suo indirizzo con **Copy URL address**.\n\n**2.** Aggiungi l'indirizzo al file `config` della tua app Total.js:\n\n```text\nname       : Demo project\nopenlogger : https://logs.example.com/?token=YOUR_TOKEN\n```\n\n**3.** Crea il file `definitions/logger.js`:\n\n```javascript\nDEF.onAudit = function(name, data) {\n\tdata.app = CONF.name;\n\tdata.sessionid = data.thread = undefined;\n\tRESTBuilder.POST(CONF.openlogger, data).keepalive().callback(ERROR('OpenLogger'));\n};\n```\n\nIl nome dell'app in OpenLogger è il `name` del file di configurazione.\n\n## Scrivere log di audit\n\nChiama `$.audit()` in un'azione di uno schema, con un messaggio e, facoltativamente, un tipo (`info`, `warning`, `error` o `success`):\n\n```javascript\nNEWSCHEMA('Orders', function(schema) {\n\n\tschema.define('product', String, true);\n\tschema.define('quantity', Number);\n\n\tschema.action('create', {\n\t\tname: 'Create an order',\n\t\taction: function($, model) {\n\t\t\t// ... save the order ...\n\t\t\t$.audit('Order created: ' + model.product);\n\t\t\t$.success();\n\t\t}\n\t});\n\n});\n```\n\n## Cosa arriva in OpenLogger\n\nEseguire questa azione con il prodotto `Demo product` salva questo log:\n\n| Campo | Valore |\n|---|---|\n| **App** | `Demo project` |\n| **Type** | `info` |\n| **Schema** | `Orders.create` |\n| **Message** | `Order created: Demo product` |\n| `data` | `{\"params\":{},\"query\":{},\"model\":{\"product\":\"Demo product\",\"quantity\":2}}` |\n\n`data` contiene gli argomenti e il modello dell'azione.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapX0e6VV60f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/recipes/totaljs-audit/","project":"openlogger","version":"1-0","section":"recipes","language":"sk","title":"Auditné logy Total.js","summary":"Posielaj auditné logy aplikácie Total.js 4 do OpenLogger pomocou $.audit().","markdown":"---\ntitle: \"Auditné logy Total.js\"\nproject: OpenLogger\nversion: 1.0\nsection: recipes\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/recipes/totaljs-audit/\nupdated: 2026-11-19T08:02:31.630Z\n---\n\n# Auditné logy Total.js\n\n> Posielaj auditné logy aplikácie Total.js 4 do OpenLogger pomocou $.audit().\n\nAplikácia Total.js 4 zapisuje auditné logy pomocou `$.audit()`. S jedným súborom s definíciou pôjdu tieto logy do OpenLogger namiesto lokálneho súboru.\n\n## Nastavenie\n\n**1.** V OpenLogger vytvor pre aplikáciu [API token](../../guides/api-tokens/) a skopíruj jeho adresu cez **Copy URL address**.\n\n**2.** Pridaj adresu do súboru `config` svojej aplikácie Total.js:\n\n```text\nname       : Demo project\nopenlogger : https://logs.example.com/?token=YOUR_TOKEN\n```\n\n**3.** Vytvor súbor `definitions/logger.js`:\n\n```javascript\nDEF.onAudit = function(name, data) {\n\tdata.app = CONF.name;\n\tdata.sessionid = data.thread = undefined;\n\tRESTBuilder.POST(CONF.openlogger, data).keepalive().callback(ERROR('OpenLogger'));\n};\n```\n\nNázov aplikácie v OpenLogger je `name` z konfiguračného súboru.\n\n## Zápis auditných logov\n\nZavolaj `$.audit()` v akcii schémy so správou a voliteľne s typom (`info`, `warning`, `error` alebo `success`):\n\n```javascript\nNEWSCHEMA('Orders', function(schema) {\n\n\tschema.define('product', String, true);\n\tschema.define('quantity', Number);\n\n\tschema.action('create', {\n\t\tname: 'Create an order',\n\t\taction: function($, model) {\n\t\t\t// ... save the order ...\n\t\t\t$.audit('Order created: ' + model.product);\n\t\t\t$.success();\n\t\t}\n\t});\n\n});\n```\n\n## Čo príde do OpenLogger\n\nSpustenie tejto akcie s produktom `Demo product` uloží tento log:\n\n| Pole | Hodnota |\n|---|---|\n| **App** | `Demo project` |\n| **Type** | `info` |\n| **Schema** | `Orders.create` |\n| **Message** | `Order created: Demo product` |\n| `data` | `{\"params\":{},\"query\":{},\"model\":{\"product\":\"Demo product\",\"quantity\":2}}` |\n\n`data` obsahuje argumenty a model akcie.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:31.630Z"}
{"id":"JapWzz5sV61f","url":"https://totaljs.es/docs/openlogger/1-0/faq/access/","project":"openlogger","version":"1-0","section":"faq","language":"en","title":"Access and tokens","summary":"A lost primary access token, blocked requests and which token to use where.","markdown":"---\ntitle: Access and tokens\nproject: OpenLogger\nversion: 1.0\nsection: faq\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/faq/access/\nupdated: 2026-11-19T08:02:25.706Z\n---\n\n# Access and tokens\n\n> A lost primary access token, blocked requests and which token to use where.\n\n## I lost the primary access token. How do I get back in?\n\n**1.** Stop OpenLogger.\n\n**2.** Open `databases/memorize_data.json` in a text editor. In the `config` section, set `token` to an empty value:\n\n```json\n\"token\": \"\",\n```\n\n**3.** Start OpenLogger and open `/setup/`. It opens without a token.\n\n**4.** Set a new token right away in **Configuration**. See [First start](../../guides/first-start/).\n\n## The primary access token stopped working after I filled in the OpenPlatform tokens\n\nWith **Request token** and **Response token** filled in, the admin interface accepts only Total.js OpenPlatform. Follow the steps above, and in step 2 also empty `op_reqtoken` and `op_restoken`.\n\n## Can my app use the primary access token to send logs?\n\nNo. Sending a log needs an [API token](../../guides/api-tokens/); the primary access token answers `401` there. The other way round, an API token cannot read logs.\n\n## How do I stop a token from working?\n\nOpen the token in **Tokens**, change **Access token** to a new random value and click **SUBMIT**. The old value stops working at once. See [API tokens](../../guides/api-tokens/).\n\n## My app gets 401 although the token is right. Why?\n\nOpenLogger blocks an IP address for up to 15 minutes after six requests with a wrong token, even when the next requests have a valid token. Wait, or restart OpenLogger. See [Errors](../../reference/errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:25.706Z"}
{"id":"JapWzz5sV61f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/faq/access/","project":"openlogger","version":"1-0","section":"faq","language":"de","title":"Zugriff und Tokens","summary":"Ein verlorenes Primary Access Token, blockierte Anfragen und welches Token du wo verwendest.","markdown":"---\ntitle: Zugriff und Tokens\nproject: OpenLogger\nversion: 1.0\nsection: faq\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/faq/access/\nupdated: 2026-11-19T08:02:25.706Z\n---\n\n# Zugriff und Tokens\n\n> Ein verlorenes Primary Access Token, blockierte Anfragen und welches Token du wo verwendest.\n\n## Ich habe das Primary Access Token verloren. Wie komme ich wieder rein?\n\n**1.** Stoppe OpenLogger.\n\n**2.** Öffne `databases/memorize_data.json` in einem Texteditor. Setz im Abschnitt `config` den Wert von `token` auf leer:\n\n```json\n\"token\": \"\",\n```\n\n**3.** Starte OpenLogger und öffne `/setup/`. Die Seite öffnet sich ohne Token.\n\n**4.** Leg in **Configuration** sofort ein neues Token fest. Mehr dazu unter [Erster Start](../../guides/first-start/).\n\n## Das Primary Access Token funktioniert nicht mehr, seit ich die OpenPlatform-Tokens ausgefüllt habe\n\nWenn **Request token** und **Response token** ausgefüllt sind, lässt die Admin-Oberfläche nur Total.js OpenPlatform herein. Folge den Schritten oben und leere in Schritt 2 zusätzlich `op_reqtoken` und `op_restoken`.\n\n## Kann meine App mit dem Primary Access Token Logs senden?\n\nNein. Zum Senden eines Logs brauchst du ein [API-Token](../../guides/api-tokens/); das Primary Access Token bekommt dort `401` als Antwort. Umgekehrt kann ein API-Token keine Logs lesen.\n\n## Wie sorge ich dafür, dass ein Token nicht mehr funktioniert?\n\nÖffne das Token in **Tokens**, ändere **Access token** auf einen neuen Zufallswert und klick auf **SUBMIT**. Der alte Wert funktioniert sofort nicht mehr. Mehr dazu unter [API-Tokens](../../guides/api-tokens/).\n\n## Meine App bekommt 401, obwohl das Token stimmt. Warum?\n\nNach sechs Anfragen mit einem falschen Token blockiert OpenLogger eine IP-Adresse für bis zu 15 Minuten, auch wenn die nächsten Anfragen ein gültiges Token haben. Warte oder starte OpenLogger neu. Mehr dazu unter [Fehler](../../reference/errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:25.706Z"}
{"id":"JapWzz5sV61f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/faq/access/","project":"openlogger","version":"1-0","section":"faq","language":"es","title":"Acceso y tokens","summary":"Un token de acceso principal perdido, peticiones bloqueadas y qué token usar en cada sitio.","markdown":"---\ntitle: Acceso y tokens\nproject: OpenLogger\nversion: 1.0\nsection: faq\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/faq/access/\nupdated: 2026-11-19T08:02:25.706Z\n---\n\n# Acceso y tokens\n\n> Un token de acceso principal perdido, peticiones bloqueadas y qué token usar en cada sitio.\n\n## He perdido el token de acceso principal. ¿Cómo vuelvo a entrar?\n\n**1.** Para OpenLogger.\n\n**2.** Abre `databases/memorize_data.json` en un editor de texto. En la sección `config`, deja `token` vacío:\n\n```json\n\"token\": \"\",\n```\n\n**3.** Arranca OpenLogger y abre `/setup/`. Se abre sin token.\n\n**4.** Pon enseguida un token nuevo en **Configuration**. Consulta [Primer arranque](../../guides/first-start/).\n\n## El token de acceso principal ha dejado de funcionar después de rellenar los tokens de OpenPlatform\n\nCon **Request token** y **Response token** rellenos, la interfaz de administración solo acepta Total.js OpenPlatform. Sigue los pasos de arriba y, en el paso 2, vacía también `op_reqtoken` y `op_restoken`.\n\n## ¿Puede mi app usar el token de acceso principal para enviar registros?\n\nNo. Para enviar un registro hace falta un [token de API](../../guides/api-tokens/); ahí el token de acceso principal recibe un `401`. Y al revés, un token de API no puede leer los registros.\n\n## ¿Cómo hago que un token deje de funcionar?\n\nAbre el token en **Tokens**, cambia **Access token** por un valor aleatorio nuevo y haz clic en **SUBMIT**. El valor antiguo deja de funcionar al momento. Consulta [Tokens de API](../../guides/api-tokens/).\n\n## Mi app recibe un 401 aunque el token es correcto. ¿Por qué?\n\nOpenLogger bloquea una dirección IP durante un máximo de 15 minutos después de seis peticiones con un token incorrecto, aunque las siguientes peticiones tengan un token válido. Espera o reinicia OpenLogger. Consulta [Errores](../../reference/errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:25.706Z"}
{"id":"JapWzz5sV61f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/faq/access/","project":"openlogger","version":"1-0","section":"faq","language":"fr","title":"Accès et jetons","summary":"Un jeton d’accès principal perdu, des requêtes bloquées et quel jeton utiliser où.","markdown":"---\ntitle: \"Accès et jetons\"\nproject: OpenLogger\nversion: 1.0\nsection: faq\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/faq/access/\nupdated: 2026-11-19T08:02:25.706Z\n---\n\n# Accès et jetons\n\n> Un jeton d’accès principal perdu, des requêtes bloquées et quel jeton utiliser où.\n\n## J’ai perdu le jeton d’accès principal. Comment je retrouve l’accès ?\n\n**1.** Arrête OpenLogger.\n\n**2.** Ouvre `databases/memorize_data.json` dans un éditeur de texte. Dans la section `config`, mets `token` à une valeur vide :\n\n```json\n\"token\": \"\",\n```\n\n**3.** Démarre OpenLogger et ouvre `/setup/`. La page s’ouvre sans jeton.\n\n**4.** Définis tout de suite un nouveau jeton dans **Configuration**. Consulte [Premier démarrage](../../guides/first-start/).\n\n## Le jeton d’accès principal ne marche plus depuis que j’ai rempli les jetons OpenPlatform\n\nQuand **Request token** et **Response token** sont remplis, l’interface d’administration n’accepte que Total.js OpenPlatform. Suis les étapes ci-dessus et, à l’étape 2, vide aussi `op_reqtoken` et `op_restoken`.\n\n## Mon application peut-elle utiliser le jeton d’accès principal pour envoyer des logs ?\n\nNon. Pour envoyer un log, il faut un [jeton d’API](../../guides/api-tokens/) ; le jeton d’accès principal y répond `401`. Dans l’autre sens, un jeton d’API ne peut pas lire les logs.\n\n## Comment j’empêche un jeton de fonctionner ?\n\nOuvre le jeton dans **Tokens**, remplace **Access token** par une nouvelle valeur aléatoire et clique sur **SUBMIT**. L’ancienne valeur cesse de fonctionner tout de suite. Consulte [Jetons d’API](../../guides/api-tokens/).\n\n## Mon application reçoit 401 alors que le jeton est bon. Pourquoi ?\n\nOpenLogger bloque une adresse IP jusqu’à 15 minutes après six requêtes avec un mauvais jeton, même si les requêtes suivantes ont un jeton valide. Attends, ou redémarre OpenLogger. Consulte [Erreurs](../../reference/errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:25.706Z"}
{"id":"JapWzz5sV61f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/faq/access/","project":"openlogger","version":"1-0","section":"faq","language":"it","title":"Accesso e token","summary":"Un token di accesso principale perso, richieste bloccate e quale token usare e dove.","markdown":"---\ntitle: Accesso e token\nproject: OpenLogger\nversion: 1.0\nsection: faq\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/faq/access/\nupdated: 2026-11-19T08:02:25.706Z\n---\n\n# Accesso e token\n\n> Un token di accesso principale perso, richieste bloccate e quale token usare e dove.\n\n## Ho perso il token di accesso principale. Come rientro?\n\n**1.** Ferma OpenLogger.\n\n**2.** Apri `databases/memorize_data.json` in un editor di testo. Nella sezione `config`, imposta `token` su un valore vuoto:\n\n```json\n\"token\": \"\",\n```\n\n**3.** Avvia OpenLogger e apri `/setup/`. Si apre senza token.\n\n**4.** Imposta subito un nuovo token in **Configuration**. Leggi [Primo avvio](../../guides/first-start/).\n\n## Il token di accesso principale ha smesso di funzionare dopo che ho compilato i token di OpenPlatform\n\nCon **Request token** e **Response token** compilati, l'interfaccia di amministrazione accetta solo Total.js OpenPlatform. Segui i passi qui sopra e, al passo 2, svuota anche `op_reqtoken` e `op_restoken`.\n\n## La mia app può usare il token di accesso principale per inviare log?\n\nNo. Per inviare un log serve un [token API](../../guides/api-tokens/); lì il token di accesso principale risponde `401`. Al contrario, un token API non può leggere i log.\n\n## Come faccio a far smettere di funzionare un token?\n\nApri il token in **Tokens**, cambia **Access token** con un nuovo valore casuale e fai clic su **SUBMIT**. Il vecchio valore smette subito di funzionare. Leggi [Token API](../../guides/api-tokens/).\n\n## La mia app riceve 401 anche se il token è giusto. Perché?\n\nOpenLogger blocca un indirizzo IP per un massimo di 15 minuti dopo sei richieste con un token sbagliato, anche se le richieste successive hanno un token valido. Aspetta, oppure riavvia OpenLogger. Leggi [Errori](../../reference/errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:25.706Z"}
{"id":"JapWzz5sV61f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/faq/access/","project":"openlogger","version":"1-0","section":"faq","language":"sk","title":"Prístup a tokeny","summary":"Stratený hlavný prístupový token, zablokované požiadavky a ktorý token kde použiť.","markdown":"---\ntitle: \"Prístup a tokeny\"\nproject: OpenLogger\nversion: 1.0\nsection: faq\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/faq/access/\nupdated: 2026-11-19T08:02:25.706Z\n---\n\n# Prístup a tokeny\n\n> Stratený hlavný prístupový token, zablokované požiadavky a ktorý token kde použiť.\n\n## Stratil som hlavný prístupový token. Ako sa dostanem späť?\n\n**1.** Zastav OpenLogger.\n\n**2.** Otvor `databases/memorize_data.json` v textovom editore. V sekcii `config` nastav `token` na prázdnu hodnotu:\n\n```json\n\"token\": \"\",\n```\n\n**3.** Spusti OpenLogger a otvor `/setup/`. Otvorí sa bez tokenu.\n\n**4.** Hneď nastav nový token v **Configuration**. Pozri si [Prvé spustenie](../../guides/first-start/).\n\n## Hlavný prístupový token prestal fungovať, keď som vyplnil tokeny OpenPlatform\n\nKeď sú vyplnené **Request token** a **Response token**, administrácia prijíma len Total.js OpenPlatform. Postupuj podľa krokov vyššie a v kroku 2 vyprázdni aj `op_reqtoken` a `op_restoken`.\n\n## Môže moja aplikácia posielať logy s hlavným prístupovým tokenom?\n\nNie. Na poslanie logu potrebuješ [API token](../../guides/api-tokens/); hlavný prístupový token tam dostane odpoveď `401`. A naopak, API token nedokáže logy čítať.\n\n## Ako zastavím fungovanie tokenu?\n\nOtvor token v **Tokens**, zmeň **Access token** na novú náhodnú hodnotu a klikni na **SUBMIT**. Stará hodnota hneď prestane fungovať. Pozri si [API tokeny](../../guides/api-tokens/).\n\n## Moja aplikácia dostáva 401, hoci je token správny. Prečo?\n\nPo šiestich požiadavkách s nesprávnym tokenom OpenLogger zablokuje IP adresu až na 15 minút, aj keď ďalšie požiadavky majú platný token. Počkaj alebo OpenLogger reštartuj. Pozri si [Chyby](../../reference/errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:25.706Z"}
{"id":"JapX015uV61f","url":"https://totaljs.es/docs/openlogger/1-0/faq/logs/","project":"openlogger","version":"1-0","section":"faq","language":"en","title":"Stored logs","summary":"Why a value looks different from what you sent, and how long logs are kept.","markdown":"---\ntitle: Stored logs\nproject: OpenLogger\nversion: 1.0\nsection: faq\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openlogger/1-0/faq/logs/\nupdated: 2026-11-19T08:02:25.706Z\n---\n\n# Stored logs\n\n> Why a value looks different from what you sent, and how long logs are kept.\n\n## My data does not appear in the log detail. Why?\n\n`data` must be a JSON string. If your app sends an object, OpenLogger answers `200` but stores `data` empty. Turn the object into a string first, for example with `JSON.stringify()`. See [Send a log](../../reference/send-log/).\n\n## I sent the type \"debug\" and the log shows \"info\". Why?\n\n`type` accepts only `info`, `warning`, `error` and `success`, in lower case. Any other value is stored as `info`.\n\n## Why is my message cut off?\n\nEvery field has a maximum length, for example 500 characters for `message` and 30 for `ua`. Longer values are cut. See the table in [Send a log](../../reference/send-log/).\n\n## Where do I see `reference` and `date`?\n\nOnly in the [downloaded file](../../guides/download-logs/). The table, the detail and the admin API do not show them. The **Created** column is the time OpenLogger received the log.\n\n## How long are logs kept?\n\nUntil you remove them. OpenLogger never deletes logs by itself. See [Remove and clear logs](../../guides/remove-logs/).\n\n## I removed logs, but they are still in the list. Why?\n\nThe list does not reload by itself after **Remove** or **Clear**. Click **Refresh**.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:25.706Z"}
{"id":"JapX015uV61f-de","url":"https://totaljs.es/docs/de/openlogger/1-0/faq/logs/","project":"openlogger","version":"1-0","section":"faq","language":"de","title":"Gespeicherte Logs","summary":"Warum ein Wert anders aussieht, als du ihn geschickt hast, und wie lange Logs aufbewahrt werden.","markdown":"---\ntitle: Gespeicherte Logs\nproject: OpenLogger\nversion: 1.0\nsection: faq\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openlogger/1-0/faq/logs/\nupdated: 2026-11-19T08:02:25.706Z\n---\n\n# Gespeicherte Logs\n\n> Warum ein Wert anders aussieht, als du ihn geschickt hast, und wie lange Logs aufbewahrt werden.\n\n## Meine Daten erscheinen nicht im Log-Detail. Warum?\n\n`data` muss ein JSON-String sein. Wenn deine App ein Objekt schickt, antwortet OpenLogger mit `200`, speichert `data` aber leer. Wandle das Objekt vorher in einen String um, zum Beispiel mit `JSON.stringify()`. Mehr dazu unter [Ein Log senden](../../reference/send-log/).\n\n## Ich habe den Typ „debug“ geschickt, und das Log zeigt „info“. Warum?\n\n`type` akzeptiert nur `info`, `warning`, `error` und `success`, kleingeschrieben. Jeder andere Wert wird als `info` gespeichert.\n\n## Warum ist meine Nachricht abgeschnitten?\n\nJedes Feld hat eine maximale Länge, zum Beispiel 500 Zeichen für `message` und 30 für `ua`. Längere Werte werden abgeschnitten. Sieh dir die Tabelle unter [Ein Log senden](../../reference/send-log/) an.\n\n## Wo sehe ich `reference` und `date`?\n\nNur in der [heruntergeladenen Datei](../../guides/download-logs/). Die Tabelle, das Detail und die Admin-API zeigen sie nicht. Die Spalte **Created** ist der Zeitpunkt, zu dem OpenLogger das Log empfangen hat.\n\n## Wie lange werden Logs aufbewahrt?\n\nBis du sie entfernst. OpenLogger löscht Logs nie von selbst. Mehr dazu unter [Logs entfernen und leeren](../../guides/remove-logs/).\n\n## Ich habe Logs entfernt, aber sie stehen noch in der Liste. Warum?\n\nDie Liste lädt sich nach **Remove** oder **Clear** nicht von selbst neu. Klick auf **Refresh**.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:25.706Z"}
{"id":"JapX015uV61f-es","url":"https://totaljs.es/docs/es/openlogger/1-0/faq/logs/","project":"openlogger","version":"1-0","section":"faq","language":"es","title":"Registros guardados","summary":"Por qué un valor se ve distinto de lo que enviaste y cuánto tiempo se guardan los registros.","markdown":"---\ntitle: Registros guardados\nproject: OpenLogger\nversion: 1.0\nsection: faq\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openlogger/1-0/faq/logs/\nupdated: 2026-11-19T08:02:25.706Z\n---\n\n# Registros guardados\n\n> Por qué un valor se ve distinto de lo que enviaste y cuánto tiempo se guardan los registros.\n\n## Mis datos no aparecen en el detalle del registro. ¿Por qué?\n\n`data` tiene que ser una cadena JSON. Si tu app envía un objeto, OpenLogger responde `200` pero guarda `data` vacío. Convierte antes el objeto en una cadena, por ejemplo con `JSON.stringify()`. Consulta [Enviar un registro](../../reference/send-log/).\n\n## He enviado el tipo \"debug\" y el registro muestra \"info\". ¿Por qué?\n\n`type` solo acepta `info`, `warning`, `error` y `success`, en minúsculas. Cualquier otro valor se guarda como `info`.\n\n## ¿Por qué mi mensaje aparece cortado?\n\nCada campo tiene una longitud máxima, por ejemplo 500 caracteres para `message` y 30 para `ua`. Los valores más largos se cortan. Consulta la tabla de [Enviar un registro](../../reference/send-log/).\n\n## ¿Dónde veo `reference` y `date`?\n\nSolo en el [archivo descargado](../../guides/download-logs/). La tabla, el detalle y la API de administración no los muestran. La columna **Created** es la hora a la que OpenLogger recibió el registro.\n\n## ¿Cuánto tiempo se guardan los registros?\n\nHasta que los borres. OpenLogger nunca borra registros por su cuenta. Consulta [Borrar y vaciar los registros](../../guides/remove-logs/).\n\n## He borrado registros, pero siguen en la lista. ¿Por qué?\n\nLa lista no se recarga sola después de **Remove** o **Clear**. Haz clic en **Refresh** (actualizar).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:25.706Z"}
{"id":"JapX015uV61f-fr","url":"https://totaljs.es/docs/fr/openlogger/1-0/faq/logs/","project":"openlogger","version":"1-0","section":"faq","language":"fr","title":"Logs enregistrés","summary":"Pourquoi une valeur ne ressemble pas à ce que tu as envoyé, et combien de temps les logs sont gardés.","markdown":"---\ntitle: \"Logs enregistrés\"\nproject: OpenLogger\nversion: 1.0\nsection: faq\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openlogger/1-0/faq/logs/\nupdated: 2026-11-19T08:02:25.706Z\n---\n\n# Logs enregistrés\n\n> Pourquoi une valeur ne ressemble pas à ce que tu as envoyé, et combien de temps les logs sont gardés.\n\n## Mes données n’apparaissent pas dans le détail du log. Pourquoi ?\n\n`data` doit être une chaîne JSON. Si ton application envoie un objet, OpenLogger répond `200` mais enregistre `data` vide. Transforme d’abord l’objet en chaîne, par exemple avec `JSON.stringify()`. Consulte [Envoyer un log](../../reference/send-log/).\n\n## J’ai envoyé le type « debug » et le log affiche « info ». Pourquoi ?\n\n`type` n’accepte que `info`, `warning`, `error` et `success`, en minuscules. Toute autre valeur est enregistrée comme `info`.\n\n## Pourquoi mon message est-il coupé ?\n\nChaque champ a une longueur maximale, par exemple 500 caractères pour `message` et 30 pour `ua`. Les valeurs plus longues sont coupées. Consulte le tableau dans [Envoyer un log](../../reference/send-log/).\n\n## Où je vois `reference` et `date` ?\n\nSeulement dans le [fichier téléchargé](../../guides/download-logs/). Le tableau, le détail et l’API d’administration ne les affichent pas. La colonne **Created** indique l’heure à laquelle OpenLogger a reçu le log.\n\n## Combien de temps les logs sont-ils gardés ?\n\nJusqu’à ce que tu les supprimes. OpenLogger ne supprime jamais de logs tout seul. Consulte [Supprimer et vider les logs](../../guides/remove-logs/).\n\n## J’ai supprimé des logs, mais ils sont toujours dans la liste. Pourquoi ?\n\nLa liste ne se recharge pas toute seule après **Remove** ou **Clear**. Clique sur **Refresh** (actualiser).\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:25.706Z"}
{"id":"JapX015uV61f-it","url":"https://totaljs.es/docs/it/openlogger/1-0/faq/logs/","project":"openlogger","version":"1-0","section":"faq","language":"it","title":"Log salvati","summary":"Perché un valore appare diverso da quello che hai inviato, e per quanto tempo vengono conservati i log.","markdown":"---\ntitle: Log salvati\nproject: OpenLogger\nversion: 1.0\nsection: faq\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openlogger/1-0/faq/logs/\nupdated: 2026-11-19T08:02:25.706Z\n---\n\n# Log salvati\n\n> Perché un valore appare diverso da quello che hai inviato, e per quanto tempo vengono conservati i log.\n\n## I miei dati non appaiono nel dettaglio del log. Perché?\n\n`data` deve essere una stringa JSON. Se la tua app invia un oggetto, OpenLogger risponde `200` ma salva `data` vuoto. Prima trasforma l'oggetto in una stringa, per esempio con `JSON.stringify()`. Leggi [Inviare un log](../../reference/send-log/).\n\n## Ho inviato il tipo \"debug\" e il log mostra \"info\". Perché?\n\n`type` accetta solo `info`, `warning`, `error` e `success`, in minuscolo. Qualsiasi altro valore viene salvato come `info`.\n\n## Perché il mio messaggio è tagliato?\n\nOgni campo ha una lunghezza massima, per esempio 500 caratteri per `message` e 30 per `ua`. I valori più lunghi vengono tagliati. Leggi la tabella in [Inviare un log](../../reference/send-log/).\n\n## Dove vedo `reference` e `date`?\n\nSolo nel [file scaricato](../../guides/download-logs/). La tabella, il dettaglio e l'API di amministrazione non li mostrano. La colonna **Created** è il momento in cui OpenLogger ha ricevuto il log.\n\n## Per quanto tempo vengono conservati i log?\n\nFinché non li rimuovi. OpenLogger non elimina mai i log da solo. Leggi [Rimuovere e svuotare i log](../../guides/remove-logs/).\n\n## Ho rimosso dei log, ma sono ancora nell'elenco. Perché?\n\nL'elenco non si ricarica da solo dopo **Remove** o **Clear**. Fai clic su **Refresh**.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:25.706Z"}
{"id":"JapX015uV61f-sk","url":"https://totaljs.es/docs/sk/openlogger/1-0/faq/logs/","project":"openlogger","version":"1-0","section":"faq","language":"sk","title":"Uložené logy","summary":"Prečo hodnota vyzerá inak, než si ju poslal, a ako dlho sa logy uchovávajú.","markdown":"---\ntitle: \"Uložené logy\"\nproject: OpenLogger\nversion: 1.0\nsection: faq\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openlogger/1-0/faq/logs/\nupdated: 2026-11-19T08:02:25.706Z\n---\n\n# Uložené logy\n\n> Prečo hodnota vyzerá inak, než si ju poslal, a ako dlho sa logy uchovávajú.\n\n## Moje dáta sa v detaile logu nezobrazujú. Prečo?\n\n`data` musí byť reťazec JSON. Ak tvoja aplikácia pošle objekt, OpenLogger odpovie `200`, ale `data` uloží prázdne. Objekt najprv premeň na reťazec, napríklad pomocou `JSON.stringify()`. Pozri si [Poslanie logu](../../reference/send-log/).\n\n## Poslal som typ „debug“ a log ukazuje „info“. Prečo?\n\n`type` prijíma len `info`, `warning`, `error` a `success`, malými písmenami. Každá iná hodnota sa uloží ako `info`.\n\n## Prečo je moja správa odrezaná?\n\nKaždé pole má maximálnu dĺžku, napríklad 500 znakov pre `message` a 30 pre `ua`. Dlhšie hodnoty sa odrežú. Pozri si tabuľku v [Poslanie logu](../../reference/send-log/).\n\n## Kde uvidím `reference` a `date`?\n\nLen v [stiahnutom súbore](../../guides/download-logs/). Tabuľka, detail ani administračné API ich neukazujú. Stĺpec **Created** je čas, keď OpenLogger log prijal.\n\n## Ako dlho sa logy uchovávajú?\n\nKým ich neodstrániš. OpenLogger logy nikdy sám nemaže. Pozri si [Odstránenie a vymazanie logov](../../guides/remove-logs/).\n\n## Odstránil som logy, ale stále sú v zozname. Prečo?\n\nZoznam sa po **Remove** alebo **Clear** sám znova nenačíta. Klikni na **Refresh**.\n","entries":[],"license":"MIT","updated":"2026-11-19T08:02:25.706Z"}
