# Relicense zlog, ztracing, and ztracing_macro under Apache-2.0 \(\#63573\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/ac5af8b9e1ea3f7922fbabefe409c05b8766135c)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: ac5af8b9e1ea3f7922fbabefe409c05b8766135c

Requested commit: ac5af8b9e1ea3f7922fbabefe409c05b8766135c

Commit: ac5af8b9e1ea3f7922fbabefe409c05b8766135c

Tree: dd13bb82e8549c18f1ac4eda7e9d0e565ab366c0

Author: Mikayla Maki

Committer: GitHub

## Message

```
Relicense zlog, ztracing, and ztracing_macro under Apache-2.0 (#63573)

Relicenses `zlog`, `ztracing`, and `ztracing_macro` from
GPL-3.0-or-later to Apache-2.0.

GPUI depends on `ztracing`, which depends on `zlog`, so these crates
have to be non-copyleft for GPUI to ship as a permissively licensed
project.

- Switched the `license` field to `Apache-2.0` in all three manifests.
- Added the `LICENSE-APACHE` symlink to `zlog`, and dropped the
`LICENSE-GPL` symlinks from all three. `ztracing` and `ztracing_macro`
already carried both symlinks; now the on-disk license matches the
manifest.
- Declared `license = "Apache-2.0"` for `gpui_util`, which had a
`LICENSE-APACHE` symlink but no `license` field. `script/check-licenses`
doesn't catch that, since it only inspects symlinks.

No source changes; none of these crates carry GPL headers or in-source
license references.

Checked the rest of the subtree while here: the only first-party crates
reachable from `ztracing` via `cargo tree -e normal` are `collections`,
`gpui_util`, `zlog`, and `ztracing_macro`, all Apache-2.0 now.
Third-party deps (`tracing`, `tracing-subscriber`, `chrono`, `log`,
`anyhow`, `tracy-client`) are MIT/Apache.

`script/check-licenses` passes.

Release Notes:

- N/A
```

## Parents

- [239d0aa15838ec24d4691659f52fd5e8d7d50d17](https://git.cafe/gitcafe/zed/commit/239d0aa15838ec24d4691659f52fd5e8d7d50d17?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/ac5af8b9e1ea3f7922fbabefe409c05b8766135c?format=markdown)
