---
title: Stored logs
project: OpenLogger
version: 1.0
section: faq
language: en
license: MIT
url: https://totaljs.es/docs/openlogger/1-0/faq/logs/
updated: 2026-11-19T08:02:25.706Z
---

# Stored logs

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

## My data does not appear in the log detail. Why?

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

## I sent the type "debug" and the log shows "info". Why?

`type` accepts only `info`, `warning`, `error` and `success`, in lower case. Any other value is stored as `info`.

## Why is my message cut off?

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

## Where do I see `reference` and `date`?

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

## How long are logs kept?

Until you remove them. OpenLogger never deletes logs by itself. See [Remove and clear logs](../../guides/remove-logs/).

## I removed logs, but they are still in the list. Why?

The list does not reload by itself after **Remove** or **Clear**. Click **Refresh**.
