Skip to content
Back

Can Appwrite logs be output without being prettified?

  • 0
  • 2
  • Self Hosted
2 Aug, 2026, 23:21

Hi, I'm trying to use the Better Stack Collector to forward my Appwrite logs to Better Stack.

The issue is that Appwrite seems to format the logs for terminal output: they are "prettified" and split across multiple lines instead of being emitted as a single log entry.

This behavior is not limited to the main Appwrite container. I have observed the same formatting with Appwrite Realtime, Task Interval, Worker Stats Resources, Worker Stats Usage, and possibly other services as well.

Example:

TypeScript
2026-Aug-02 23:02:44
2026-Aug-02 23:02:44   level                   info
2026-Aug-02 23:02:44   realtime.connection.id  2
2026-Aug-02 23:02:44   realtime.inbound_bytes  15
2026-Aug-02 23:02:44   realtime.container.id   6a6fb851896bb
2026-Aug-02 23:02:44   realtime.success        true
2026-Aug-02 23:02:44   realtime.response_code  200
2026-Aug-02 23:02:44   realtime.outbound_bytes 15
2026-Aug-02 23:02:44   project.id              console
2026-Aug-02 23:02:44   user.id                 69da9c58003cfefc4bca
2026-Aug-02 23:02:44   realtime.message_type   ping
2026-Aug-02 23:02:44
2026-Aug-02 23:02:44 ──────────────────────────────────────────────────────────── ```

Since each line is sent separately through Docker stdout, this makes log aggregation and searching much harder in Better Stack.

Is there a way to disable this formatting and make Appwrite output logs in a more machine-friendly format (for example, JSON or a single-line format)?
TL;DR
Appwrite logs can be output without being prettified by fixing the issue in the GitHub pull request 13069.
3 Aug, 2026, 04:03

<@956201415280308296> fixing this here - https://github.com/appwrite/appwrite/pull/13069

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more