03 · REFERENCE

Environment variables

XERJ deliberately does not expose feature flags via environment variables. Behaviour lives in the TOML. The only env vars the engine actually reads are the two needed to find the config file and filter logs.

NAME
DEFAULT
DESCRIPTION
XERJ_CONFIG
./xerj.toml
Config file path override. The --config CLI flag wins if both are set.
XERJ_LOG
info
Tracing filter. Accepts tracing_subscriber syntax, e.g. xerj_api=debug,info.
RUST_LOG
Fallback tracing filter. Checked only if XERJ_LOG is unset.

There are no feature gates via env. If you want to change XERJ's behaviour, change the config.

Source · engine/crates/server/src/main.rs