# Configuring the format of Textual logs

Textual writes the worker, machine learning, and API log messages to `stdout`.

By default, the log messages are in an unstructured format.

To instead use a JSON format for the logs, set the environment variable `SOLAR_EMIT_JSON_LOGS_TO_STDOUT` to `true`.
