zed/crates/zlog
Lukas Wirth 502460a005
zlog: Fix log file rotation never truncating original file (#50571)
Release Notes:

- Fixed an issue where the log file and log file backup would keep grow
indefinitely
2026-03-03 08:37:58 +00:00
..
src zlog: Fix log file rotation never truncating original file (#50571) 2026-03-03 08:37:58 +00:00
Cargo.toml Remove workspace-hack (#40216) 2025-10-17 18:58:14 +00:00
LICENSE-GPL
README.md cli: Allow opening non-existent paths (#43250) 2025-11-24 11:30:19 +02:00

Zlog

Use the ZED_LOG environment variable to control logging output for Zed applications and libraries. The variable accepts a comma-separated list of directives that specify logging levels for different modules (crates). The general format is for instance:

ZED_LOG=info,project=debug,agent=off
  • Levels can be one of: off/none, error, warn, info, debug, or trace.
  • You don't need to specify the global level, default is trace in the crate and info set by RUST_LOG in Zed.