Skip to content

Log messages from other crates are not visible when running rustdoc #46383

Closed
@Aaron1011

Description

@Aaron1011

When invoking a locally-built rustc or rustdoc compiled with debug assertions, debug messages can be enabled by setting the environment variable RUST_LOG=debug.

When invoking rustc with RUST_LOG=debug, log message will be displayed from all internal crates (e.g. librustc, libsynax) as expected. However, when invoking rustdoc with RUST_LOG=debug, only messages from librustdoc are displayed, despite many other internal crates being used by rustdoc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions