Environment Variables

Mush sets and reads a number of environment variables which your code can detect or override. Here is a list of the variables Mush sets, organized by when it interacts with them:

Environment variables Mush reads

You can override these environment variables to change Mush’s behavior on your system:

  • MUSH_LOG — Mush uses the [tracing] crate to display debug log messages. The MUSH_LOG environment variable can be set to enable debug logging, with a value such as trace, debug, or warn. Usually it is only used during debugging.

© 2024 Francesco Bianco. All rights reserved.